	var __wxAppData = __wxAppData || {}; 	var __wxRoute = __wxRoute || ""; 	var __wxRouteBegin = __wxRouteBegin || ""; 	var __wxAppCode__ = __wxAppCode__ || {};	var global = global || {};	var __WXML_GLOBAL__=__WXML_GLOBAL__ || {};	var __wxAppCurrentFile__=__wxAppCurrentFile__||""; 	var Component = Component || function(){};	var definePlugin = definePlugin || function(){};	var requirePlugin = requirePlugin || function(){};	var Behavior = Behavior || function(){};	var __vd_version_info__ = __vd_version_info__ || {};
	/*v0.5vv_20190703_syb_scopedata*/global.__wcc_version__='v0.5vv_20190703_syb_scopedata';global.__wcc_version_info__={"customComponents":true,"fixZeroRpx":true,"propValueDeepCopy":false};
var $gwxc
var $gaic={}
$gwx=function(path,global){
if(typeof global === 'undefined') global={};if(typeof __WXML_GLOBAL__ === 'undefined') {__WXML_GLOBAL__={};
}__WXML_GLOBAL__.modules = __WXML_GLOBAL__.modules || {};
function _(a,b){if(typeof(b)!='undefined')a.children.push(b);}
function _v(k){if(typeof(k)!='undefined')return {tag:'virtual','wxKey':k,children:[]};return {tag:'virtual',children:[]};}
function _n(tag){$gwxc++;if($gwxc>=16000){throw 'Dom limit exceeded, please check if there\'s any mistake you\'ve made.'};return {tag:'wx-'+tag,attr:{},children:[],n:[],raw:{},generics:{}}}
function _p(a,b){b&&a.properities.push(b);}
function _s(scope,env,key){return typeof(scope[key])!='undefined'?scope[key]:env[key]}
function _wp(m){console.warn("WXMLRT_$gwx:"+m)}
function _wl(tname,prefix){_wp(prefix+':-1:-1:-1: Template `' + tname + '` is being called recursively, will be stop.')}
$gwn=console.warn;
$gwl=console.log;
function $gwh()
{
function x()
{
}
x.prototype = 
{
hn: function( obj, all )
{
if( typeof(obj) == 'object' )
{
var cnt=0;
var any1=false,any2=false;
for(var x in obj)
{
any1=any1|x==='__value__';
any2=any2|x==='__wxspec__';
cnt++;
if(cnt>2)break;
}
return cnt == 2 && any1 && any2 && ( all || obj.__wxspec__ !== 'm' || this.hn(obj.__value__) === 'h' ) ? "h" : "n";
}
return "n";
},
nh: function( obj, special )
{
return { __value__: obj, __wxspec__: special ? special : true }
},
rv: function( obj )
{
return this.hn(obj,true)==='n'?obj:this.rv(obj.__value__);
},
hm: function( obj )
{
if( typeof(obj) == 'object' )
{
var cnt=0;
var any1=false,any2=false;
for(var x in obj)
{
any1=any1|x==='__value__';
any2=any2|x==='__wxspec__';
cnt++;
if(cnt>2)break;
}
return cnt == 2 && any1 && any2 && (obj.__wxspec__ === 'm' || this.hm(obj.__value__) );
}
return false;
}
}
return new x;
}
wh=$gwh();
function $gstack(s){
var tmp=s.split('\n '+' '+' '+' ');
for(var i=0;i<tmp.length;++i){
if(0==i) continue;
if(")"===tmp[i][tmp[i].length-1])
tmp[i]=tmp[i].replace(/\s\(.*\)$/,"");
else
tmp[i]="at anonymous function";
}
return tmp.join('\n '+' '+' '+' ');
}
function $gwrt( should_pass_type_info )
{
function ArithmeticEv( ops, e, s, g, o )
{
var _f = false;
var rop = ops[0][1];
var _a,_b,_c,_d, _aa, _bb;
switch( rop )
{
case '?:':
_a = rev( ops[1], e, s, g, o, _f );
_c = should_pass_type_info && ( wh.hn(_a) === 'h' );
_d = wh.rv( _a ) ? rev( ops[2], e, s, g, o, _f ) : rev( ops[3], e, s, g, o, _f );
_d = _c && wh.hn( _d ) === 'n' ? wh.nh( _d, 'c' ) : _d;
return _d;
break;
case '&&':
_a = rev( ops[1], e, s, g, o, _f );
_c = should_pass_type_info && ( wh.hn(_a) === 'h' );
_d = wh.rv( _a ) ? rev( ops[2], e, s, g, o, _f ) : wh.rv( _a );
_d = _c && wh.hn( _d ) === 'n' ? wh.nh( _d, 'c' ) : _d;
return _d;
break;
case '||':
_a = rev( ops[1], e, s, g, o, _f );
_c = should_pass_type_info && ( wh.hn(_a) === 'h' );
_d = wh.rv( _a ) ? wh.rv(_a) : rev( ops[2], e, s, g, o, _f );
_d = _c && wh.hn( _d ) === 'n' ? wh.nh( _d, 'c' ) : _d;
return _d;
break;
case '+':
case '*':
case '/':
case '%':
case '|':
case '^':
case '&':
case '===':
case '==':
case '!=':
case '!==':
case '>=':
case '<=':
case '>':
case '<':
case '<<':
case '>>':
_a = rev( ops[1], e, s, g, o, _f );
_b = rev( ops[2], e, s, g, o, _f );
_c = should_pass_type_info && (wh.hn( _a ) === 'h' || wh.hn( _b ) === 'h');
switch( rop )
{
case '+':
_d = wh.rv( _a ) + wh.rv( _b );
break;
case '*':
_d = wh.rv( _a ) * wh.rv( _b );
break;
case '/':
_d = wh.rv( _a ) / wh.rv( _b );
break;
case '%':
_d = wh.rv( _a ) % wh.rv( _b );
break;
case '|':
_d = wh.rv( _a ) | wh.rv( _b );
break;
case '^':
_d = wh.rv( _a ) ^ wh.rv( _b );
break;
case '&':
_d = wh.rv( _a ) & wh.rv( _b );
break;
case '===':
_d = wh.rv( _a ) === wh.rv( _b );
break;
case '==':
_d = wh.rv( _a ) == wh.rv( _b );
break;
case '!=':
_d = wh.rv( _a ) != wh.rv( _b );
break;
case '!==':
_d = wh.rv( _a ) !== wh.rv( _b );
break;
case '>=':
_d = wh.rv( _a ) >= wh.rv( _b );
break;
case '<=':
_d = wh.rv( _a ) <= wh.rv( _b );
break;
case '>':
_d = wh.rv( _a ) > wh.rv( _b );
break;
case '<':
_d = wh.rv( _a ) < wh.rv( _b );
break;
case '<<':
_d = wh.rv( _a ) << wh.rv( _b );
break;
case '>>':
_d = wh.rv( _a ) >> wh.rv( _b );
break;
default:
break;
}
return _c ? wh.nh( _d, "c" ) : _d;
break;
case '-':
_a = ops.length === 3 ? rev( ops[1], e, s, g, o, _f ) : 0;
_b = ops.length === 3 ? rev( ops[2], e, s, g, o, _f ) : rev( ops[1], e, s, g, o, _f );
_c = should_pass_type_info && (wh.hn( _a ) === 'h' || wh.hn( _b ) === 'h');
_d = _c ? wh.rv( _a ) - wh.rv( _b ) : _a - _b;
return _c ? wh.nh( _d, "c" ) : _d;
break;
case '!':
_a = rev( ops[1], e, s, g, o, _f );
_c = should_pass_type_info && (wh.hn( _a ) == 'h');
_d = !wh.rv(_a);
return _c ? wh.nh( _d, "c" ) : _d;
case '~':
_a = rev( ops[1], e, s, g, o, _f );
_c = should_pass_type_info && (wh.hn( _a ) == 'h');
_d = ~wh.rv(_a);
return _c ? wh.nh( _d, "c" ) : _d;
default:
$gwn('unrecognized op' + rop );
}
}
function rev( ops, e, s, g, o, newap )
{
var op = ops[0];
var _f = false;
if ( typeof newap !== "undefined" ) o.ap = newap;
if( typeof(op)==='object' )
{
var vop=op[0];
var _a, _aa, _b, _bb, _c, _d, _s, _e, _ta, _tb, _td;
switch(vop)
{
case 2:
return ArithmeticEv(ops,e,s,g,o);
break;
case 4: 
return rev( ops[1], e, s, g, o, _f );
break;
case 5: 
switch( ops.length )
{
case 2: 
_a = rev( ops[1],e,s,g,o,_f );
return should_pass_type_info?[_a]:[wh.rv(_a)];
return [_a];
break;
case 1: 
return [];
break;
default:
_a = rev( ops[1],e,s,g,o,_f );
_b = rev( ops[2],e,s,g,o,_f );
_a.push( 
should_pass_type_info ?
_b :
wh.rv( _b )
);
return _a;
break;
}
break;
case 6:
_a = rev(ops[1],e,s,g,o);
var ap = o.ap;
_ta = wh.hn(_a)==='h';
_aa = _ta ? wh.rv(_a) : _a;
o.is_affected |= _ta;
if( should_pass_type_info )
{
if( _aa===null || typeof(_aa) === 'undefined' )
{
return _ta ? wh.nh(undefined, 'e') : undefined;
}
_b = rev(ops[2],e,s,g,o,_f);
_tb = wh.hn(_b) === 'h';
_bb = _tb ? wh.rv(_b) : _b;
o.ap = ap;
o.is_affected |= _tb;
if( _bb===null || typeof(_bb) === 'undefined' || 
_bb === "__proto__" || _bb === "prototype" || _bb === "caller" ) 
{
return (_ta || _tb) ? wh.nh(undefined, 'e') : undefined;
}
_d = _aa[_bb];
if ( typeof _d === 'function' && !ap ) _d = undefined;
_td = wh.hn(_d)==='h';
o.is_affected |= _td;
return (_ta || _tb) ? (_td ? _d : wh.nh(_d, 'e')) : _d;
}
else
{
if( _aa===null || typeof(_aa) === 'undefined' )
{
return undefined;
}
_b = rev(ops[2],e,s,g,o,_f);
_tb = wh.hn(_b) === 'h';
_bb = _tb ? wh.rv(_b) : _b;
o.ap = ap;
o.is_affected |= _tb;
if( _bb===null || typeof(_bb) === 'undefined' || 
_bb === "__proto__" || _bb === "prototype" || _bb === "caller" ) 
{
return undefined;
}
_d = _aa[_bb];
if ( typeof _d === 'function' && !ap ) _d = undefined;
_td = wh.hn(_d)==='h';
o.is_affected |= _td;
return _td ? wh.rv(_d) : _d;
}
case 7: 
switch(ops[1][0])
{
case 11:
o.is_affected |= wh.hn(g)==='h';
return g;
case 3:
_s = wh.rv( s );
_e = wh.rv( e );
_b = ops[1][1];
if (g && g.f && g.f.hasOwnProperty(_b) )
{
_a = g.f;
o.ap = true;
}
else
{
_a = _s && _s.hasOwnProperty(_b) ? 
s : (_e && _e.hasOwnProperty(_b) ? e : undefined );
}
if( should_pass_type_info )
{
if( _a )
{
_ta = wh.hn(_a) === 'h';
_aa = _ta ? wh.rv( _a ) : _a;
_d = _aa[_b];
_td = wh.hn(_d) === 'h';
o.is_affected |= _ta || _td;
_d = _ta && !_td ? wh.nh(_d,'e') : _d;
return _d;
}
}
else
{
if( _a )
{
_ta = wh.hn(_a) === 'h';
_aa = _ta ? wh.rv( _a ) : _a;
_d = _aa[_b];
_td = wh.hn(_d) === 'h';
o.is_affected |= _ta || _td;
return wh.rv(_d);
}
}
return undefined;
}
break;
case 8: 
_a = {};
_a[ops[1]] = rev(ops[2],e,s,g,o,_f);
return _a;
break;
case 9: 
_a = rev(ops[1],e,s,g,o,_f);
_b = rev(ops[2],e,s,g,o,_f);
function merge( _a, _b, _ow )
{
var ka, _bbk;
_ta = wh.hn(_a)==='h';
_tb = wh.hn(_b)==='h';
_aa = wh.rv(_a);
_bb = wh.rv(_b);
for(var k in _bb)
{
if ( _ow || !_aa.hasOwnProperty(k) )
{
_aa[k] = should_pass_type_info ? (_tb ? wh.nh(_bb[k],'e') : _bb[k]) : wh.rv(_bb[k]);
}
}
return _a;
}
var _c = _a
var _ow = true
if ( typeof(ops[1][0]) === "object" && ops[1][0][0] === 10 ) {
_a = _b
_b = _c
_ow = false
}
if ( typeof(ops[1][0]) === "object" && ops[1][0][0] === 10 ) {
var _r = {}
return merge( merge( _r, _a, _ow ), _b, _ow );
}
else
return merge( _a, _b, _ow );
break;
case 10:
_a = rev(ops[1],e,s,g,o,_f);
_a = should_pass_type_info ? _a : wh.rv( _a );
return _a ;
break;
case 12:
var _r;
_a = rev(ops[1],e,s,g,o);
if ( !o.ap )
{
return should_pass_type_info && wh.hn(_a)==='h' ? wh.nh( _r, 'f' ) : _r;
}
var ap = o.ap;
_b = rev(ops[2],e,s,g,o,_f);
o.ap = ap;
_ta = wh.hn(_a)==='h';
_tb = _ca(_b);
_aa = wh.rv(_a);	
_bb = wh.rv(_b); snap_bb=$gdc(_bb,"nv_");
try{
_r = typeof _aa === "function" ? $gdc(_aa.apply(null, snap_bb)) : undefined;
} catch (e){
e.message = e.message.replace(/nv_/g,"");
e.stack = e.stack.substring(0,e.stack.indexOf("\n", e.stack.lastIndexOf("at nv_")));
e.stack = e.stack.replace(/\snv_/g," "); 
e.stack = $gstack(e.stack);	
if(g.debugInfo)
{
e.stack += "\n "+" "+" "+" at "+g.debugInfo[0]+":"+g.debugInfo[1]+":"+g.debugInfo[2];
console.error(e);
}
_r = undefined;
}
return should_pass_type_info && (_tb || _ta) ? wh.nh( _r, 'f' ) : _r;
}
}
else
{
if( op === 3 || op === 1) return ops[1];
else if( op === 11 ) 
{
var _a='';
for( var i = 1 ; i < ops.length ; i++ )
{
var xp = wh.rv(rev(ops[i],e,s,g,o,_f));
_a += typeof(xp) === 'undefined' ? '' : xp;
}
return _a;
}
}
}
function wrapper( ops, e, s, g, o, newap )
{
if( ops[0] == '11182016' )
{
g.debugInfo = ops[2];
return rev( ops[1], e, s, g, o, newap );
}
else
{
g.debugInfo = null;
return rev( ops, e, s, g, o, newap );
}
}
return wrapper;
}
gra=$gwrt(true); 
grb=$gwrt(false); 
function TestTest( expr, ops, e,s,g, expect_a, expect_b, expect_affected )
{
{
var o = {is_affected:false};
var a = gra( ops, e,s,g, o );
if( JSON.stringify(a) != JSON.stringify( expect_a )
|| o.is_affected != expect_affected )
{
console.warn( "A. " + expr + " get result " + JSON.stringify(a) + ", " + o.is_affected + ", but " + JSON.stringify( expect_a ) + ", " + expect_affected + " is expected" );
}
}
{
var o = {is_affected:false};
var a = grb( ops, e,s,g, o );
if( JSON.stringify(a) != JSON.stringify( expect_b )
|| o.is_affected != expect_affected )
{
console.warn( "B. " + expr + " get result " + JSON.stringify(a) + ", " + o.is_affected + ", but " + JSON.stringify( expect_b ) + ", " + expect_affected + " is expected" );
}
}
}

function wfor( to_iter, func, env, _s, global, father, itemname, indexname, keyname )
{
var _n = wh.hn( to_iter ) === 'n'; 
var scope = wh.rv( _s ); 
var has_old_item = scope.hasOwnProperty(itemname);
var has_old_index = scope.hasOwnProperty(indexname);
var old_item = scope[itemname];
var old_index = scope[indexname];
var full = Object.prototype.toString.call(wh.rv(to_iter));
var type = full[8]; 
if( type === 'N' && full[10] === 'l' ) type = 'X'; 
var _y;
if( _n )
{
if( type === 'A' ) 
{
var r_iter_item;
for( var i = 0 ; i < to_iter.length ; i++ )
{
scope[itemname] = to_iter[i];
scope[indexname] = _n ? i : wh.nh(i, 'h');
r_iter_item = wh.rv(to_iter[i]);
var key = keyname && r_iter_item ? (keyname==="*this" ? r_iter_item : wh.rv(r_iter_item[keyname])) : undefined;
_y = _v(key);
_(father,_y);
func( env, scope, _y, global );
}
}
else if( type === 'O' ) 
{
var i = 0;
var r_iter_item;
for( var k in to_iter )
{
scope[itemname] = to_iter[k];
scope[indexname] = _n ? k : wh.nh(k, 'h');
r_iter_item = wh.rv(to_iter[k]);
var key = keyname && r_iter_item ? (keyname==="*this" ? r_iter_item : wh.rv(r_iter_item[keyname])) : undefined;
_y = _v(key);
_(father,_y);
func( env,scope,_y,global );
i++;
}
}
else if( type === 'S' ) 
{
for( var i = 0 ; i < to_iter.length ; i++ )
{
scope[itemname] = to_iter[i];
scope[indexname] = _n ? i : wh.nh(i, 'h');
_y = _v( to_iter[i] + i );
_(father,_y);
func( env,scope,_y,global );
}
}
else if( type === 'N' ) 
{
for( var i = 0 ; i < to_iter ; i++ )
{
scope[itemname] = i;
scope[indexname] = _n ? i : wh.nh(i, 'h');
_y = _v( i );
_(father,_y);
func(env,scope,_y,global);
}
}
else
{
}
}
else
{
var r_to_iter = wh.rv(to_iter);
var r_iter_item, iter_item;
if( type === 'A' ) 
{
for( var i = 0 ; i < r_to_iter.length ; i++ )
{
iter_item = r_to_iter[i];
iter_item = wh.hn(iter_item)==='n' ? wh.nh(iter_item,'h') : iter_item;
r_iter_item = wh.rv( iter_item );
scope[itemname] = iter_item
scope[indexname] = _n ? i : wh.nh(i, 'h');
var key = keyname && r_iter_item ? (keyname==="*this" ? r_iter_item : wh.rv(r_iter_item[keyname])) : undefined;
_y = _v(key);
_(father,_y);
func( env, scope, _y, global );
}
}
else if( type === 'O' ) 
{
var i=0;
for( var k in r_to_iter )
{
iter_item = r_to_iter[k];
iter_item = wh.hn(iter_item)==='n'? wh.nh(iter_item,'h') : iter_item;
r_iter_item = wh.rv( iter_item );
scope[itemname] = iter_item;
scope[indexname] = _n ? k : wh.nh(k, 'h');
var key = keyname && r_iter_item ? (keyname==="*this" ? r_iter_item : wh.rv(r_iter_item[keyname])) : undefined;
_y=_v(key);
_(father,_y);
func( env, scope, _y, global );
i++
}
}
else if( type === 'S' ) 
{
for( var i = 0 ; i < r_to_iter.length ; i++ )
{
iter_item = wh.nh(r_to_iter[i],'h');
scope[itemname] = iter_item;
scope[indexname] = _n ? i : wh.nh(i, 'h');
_y = _v( to_iter[i] + i );
_(father,_y);
func( env, scope, _y, global );
}
}
else if( type === 'N' ) 
{
for( var i = 0 ; i < r_to_iter ; i++ )
{
iter_item = wh.nh(i,'h');
scope[itemname] = iter_item;
scope[indexname]= _n ? i : wh.nh(i,'h');
_y = _v( i );
_(father,_y);
func(env,scope,_y,global);
}
}
else
{
}
}
if(has_old_item)
{
scope[itemname]=old_item;
}
else
{
delete scope[itemname];
}
if(has_old_index)
{
scope[indexname]=old_index;
}
else
{
delete scope[indexname];
}
}

function _ca(o)
{ 
if ( wh.hn(o) == 'h' ) return true;
if ( typeof o !== "object" ) return false;
for(var i in o){ 
if ( o.hasOwnProperty(i) ){
if (_ca(o[i])) return true;
}
}
return false;
}
function _da( node, attrname, opindex, raw, o )
{
var isaffected = false;
var value = $gdc( raw, "", 2 );
if ( o.ap && value && value.constructor===Function ) 
{
attrname = "$wxs:" + attrname; 
node.attr["$gdc"] = $gdc;
}
if ( o.is_affected || _ca(raw) ) 
{
node.n.push( attrname );
node.raw[attrname] = raw;
}
node.attr[attrname] = value;
}
function _r( node, attrname, opindex, env, scope, global ) 
{
global.opindex=opindex;
var o = {}, _env;
var a = grb( z[opindex], env, scope, global, o );
_da( node, attrname, opindex, a, o );
}
function _rz( z, node, attrname, opindex, env, scope, global ) 
{
global.opindex=opindex;
var o = {}, _env;
var a = grb( z[opindex], env, scope, global, o );
_da( node, attrname, opindex, a, o );
}
function _o( opindex, env, scope, global )
{
global.opindex=opindex;
var nothing = {};
var r = grb( z[opindex], env, scope, global, nothing );
return (r&&r.constructor===Function) ? undefined : r;
}
function _oz( z, opindex, env, scope, global )
{
global.opindex=opindex;
var nothing = {};
var r = grb( z[opindex], env, scope, global, nothing );
return (r&&r.constructor===Function) ? undefined : r;
}
function _1( opindex, env, scope, global, o )
{
var o = o || {};
global.opindex=opindex;
return gra( z[opindex], env, scope, global, o );
}
function _1z( z, opindex, env, scope, global, o )
{
var o = o || {};
global.opindex=opindex;
return gra( z[opindex], env, scope, global, o );
}
function _2( opindex, func, env, scope, global, father, itemname, indexname, keyname )
{
var o = {};
var to_iter = _1( opindex, env, scope, global );
wfor( to_iter, func, env, scope, global, father, itemname, indexname, keyname );
}
function _2z( z, opindex, func, env, scope, global, father, itemname, indexname, keyname )
{
var o = {};
var to_iter = _1z( z, opindex, env, scope, global );
wfor( to_iter, func, env, scope, global, father, itemname, indexname, keyname );
}


function _m(tag,attrs,generics,env,scope,global)
{
var tmp=_n(tag);
var base=0;
for(var i = 0 ; i < attrs.length ; i+=2 )
{
if(base+attrs[i+1]<0)
{
tmp.attr[attrs[i]]=true;
}
else
{
_r(tmp,attrs[i],base+attrs[i+1],env,scope,global);
if(base===0)base=attrs[i+1];
}
}
for(var i=0;i<generics.length;i+=2)
{
if(base+generics[i+1]<0)
{
tmp.generics[generics[i]]="";
}
else
{
var $t=grb(z[base+generics[i+1]],env,scope,global);
if ($t!="") $t="wx-"+$t;
tmp.generics[generics[i]]=$t;
if(base===0)base=generics[i+1];
}
}
return tmp;
}
function _mz(z,tag,attrs,generics,env,scope,global)
{
var tmp=_n(tag);
var base=0;
for(var i = 0 ; i < attrs.length ; i+=2 )
{
if(base+attrs[i+1]<0)
{
tmp.attr[attrs[i]]=true;
}
else
{
_rz(z, tmp,attrs[i],base+attrs[i+1],env,scope,global);
if(base===0)base=attrs[i+1];
}
}
for(var i=0;i<generics.length;i+=2)
{
if(base+generics[i+1]<0)
{
tmp.generics[generics[i]]="";
}
else
{
var $t=grb(z[base+generics[i+1]],env,scope,global);
if ($t!="") $t="wx-"+$t;
tmp.generics[generics[i]]=$t;
if(base===0)base=generics[i+1];
}
}
return tmp;
}

var nf_init=function(){
if(typeof __WXML_GLOBAL__==="undefined"||undefined===__WXML_GLOBAL__.wxs_nf_init){
nf_init_Object();nf_init_Function();nf_init_Array();nf_init_String();nf_init_Boolean();nf_init_Number();nf_init_Math();nf_init_Date();nf_init_RegExp();
}
if(typeof __WXML_GLOBAL__!=="undefined") __WXML_GLOBAL__.wxs_nf_init=true;
};
var nf_init_Object=function(){
Object.defineProperty(Object.prototype,"nv_constructor",{writable:true,value:"Object"})
Object.defineProperty(Object.prototype,"nv_toString",{writable:true,value:function(){return "[object Object]"}})
}
var nf_init_Function=function(){
Object.defineProperty(Function.prototype,"nv_constructor",{writable:true,value:"Function"})
Object.defineProperty(Function.prototype,"nv_length",{get:function(){return this.length;},set:function(){}});
Object.defineProperty(Function.prototype,"nv_toString",{writable:true,value:function(){return "[function Function]"}})
}
var nf_init_Array=function(){
Object.defineProperty(Array.prototype,"nv_toString",{writable:true,value:function(){return this.nv_join();}})
Object.defineProperty(Array.prototype,"nv_join",{writable:true,value:function(s){
s=undefined==s?',':s;
var r="";
for(var i=0;i<this.length;++i){
if(0!=i) r+=s;
if(null==this[i]||undefined==this[i]) r+='';	
else if(typeof this[i]=='function') r+=this[i].nv_toString();
else if(typeof this[i]=='object'&&this[i].nv_constructor==="Array") r+=this[i].nv_join();
else r+=this[i].toString();
}
return r;
}})
Object.defineProperty(Array.prototype,"nv_constructor",{writable:true,value:"Array"})
Object.defineProperty(Array.prototype,"nv_concat",{writable:true,value:Array.prototype.concat})
Object.defineProperty(Array.prototype,"nv_pop",{writable:true,value:Array.prototype.pop})
Object.defineProperty(Array.prototype,"nv_push",{writable:true,value:Array.prototype.push})
Object.defineProperty(Array.prototype,"nv_reverse",{writable:true,value:Array.prototype.reverse})
Object.defineProperty(Array.prototype,"nv_shift",{writable:true,value:Array.prototype.shift})
Object.defineProperty(Array.prototype,"nv_slice",{writable:true,value:Array.prototype.slice})
Object.defineProperty(Array.prototype,"nv_sort",{writable:true,value:Array.prototype.sort})
Object.defineProperty(Array.prototype,"nv_splice",{writable:true,value:Array.prototype.splice})
Object.defineProperty(Array.prototype,"nv_unshift",{writable:true,value:Array.prototype.unshift})
Object.defineProperty(Array.prototype,"nv_indexOf",{writable:true,value:Array.prototype.indexOf})
Object.defineProperty(Array.prototype,"nv_lastIndexOf",{writable:true,value:Array.prototype.lastIndexOf})
Object.defineProperty(Array.prototype,"nv_every",{writable:true,value:Array.prototype.every})
Object.defineProperty(Array.prototype,"nv_some",{writable:true,value:Array.prototype.some})
Object.defineProperty(Array.prototype,"nv_forEach",{writable:true,value:Array.prototype.forEach})
Object.defineProperty(Array.prototype,"nv_map",{writable:true,value:Array.prototype.map})
Object.defineProperty(Array.prototype,"nv_filter",{writable:true,value:Array.prototype.filter})
Object.defineProperty(Array.prototype,"nv_reduce",{writable:true,value:Array.prototype.reduce})
Object.defineProperty(Array.prototype,"nv_reduceRight",{writable:true,value:Array.prototype.reduceRight})
Object.defineProperty(Array.prototype,"nv_length",{get:function(){return this.length;},set:function(value){this.length=value;}});
}
var nf_init_String=function(){
Object.defineProperty(String.prototype,"nv_constructor",{writable:true,value:"String"})
Object.defineProperty(String.prototype,"nv_toString",{writable:true,value:String.prototype.toString})
Object.defineProperty(String.prototype,"nv_valueOf",{writable:true,value:String.prototype.valueOf})
Object.defineProperty(String.prototype,"nv_charAt",{writable:true,value:String.prototype.charAt})
Object.defineProperty(String.prototype,"nv_charCodeAt",{writable:true,value:String.prototype.charCodeAt})
Object.defineProperty(String.prototype,"nv_concat",{writable:true,value:String.prototype.concat})
Object.defineProperty(String.prototype,"nv_indexOf",{writable:true,value:String.prototype.indexOf})
Object.defineProperty(String.prototype,"nv_lastIndexOf",{writable:true,value:String.prototype.lastIndexOf})
Object.defineProperty(String.prototype,"nv_localeCompare",{writable:true,value:String.prototype.localeCompare})
Object.defineProperty(String.prototype,"nv_match",{writable:true,value:String.prototype.match})
Object.defineProperty(String.prototype,"nv_replace",{writable:true,value:String.prototype.replace})
Object.defineProperty(String.prototype,"nv_search",{writable:true,value:String.prototype.search})
Object.defineProperty(String.prototype,"nv_slice",{writable:true,value:String.prototype.slice})
Object.defineProperty(String.prototype,"nv_split",{writable:true,value:String.prototype.split})
Object.defineProperty(String.prototype,"nv_substring",{writable:true,value:String.prototype.substring})
Object.defineProperty(String.prototype,"nv_toLowerCase",{writable:true,value:String.prototype.toLowerCase})
Object.defineProperty(String.prototype,"nv_toLocaleLowerCase",{writable:true,value:String.prototype.toLocaleLowerCase})
Object.defineProperty(String.prototype,"nv_toUpperCase",{writable:true,value:String.prototype.toUpperCase})
Object.defineProperty(String.prototype,"nv_toLocaleUpperCase",{writable:true,value:String.prototype.toLocaleUpperCase})
Object.defineProperty(String.prototype,"nv_trim",{writable:true,value:String.prototype.trim})
Object.defineProperty(String.prototype,"nv_length",{get:function(){return this.length;},set:function(value){this.length=value;}});
}
var nf_init_Boolean=function(){
Object.defineProperty(Boolean.prototype,"nv_constructor",{writable:true,value:"Boolean"})
Object.defineProperty(Boolean.prototype,"nv_toString",{writable:true,value:Boolean.prototype.toString})
Object.defineProperty(Boolean.prototype,"nv_valueOf",{writable:true,value:Boolean.prototype.valueOf})
}
var nf_init_Number=function(){
Object.defineProperty(Number,"nv_MAX_VALUE",{writable:false,value:Number.MAX_VALUE})
Object.defineProperty(Number,"nv_MIN_VALUE",{writable:false,value:Number.MIN_VALUE})
Object.defineProperty(Number,"nv_NEGATIVE_INFINITY",{writable:false,value:Number.NEGATIVE_INFINITY})
Object.defineProperty(Number,"nv_POSITIVE_INFINITY",{writable:false,value:Number.POSITIVE_INFINITY})
Object.defineProperty(Number.prototype,"nv_constructor",{writable:true,value:"Number"})
Object.defineProperty(Number.prototype,"nv_toString",{writable:true,value:Number.prototype.toString})
Object.defineProperty(Number.prototype,"nv_toLocaleString",{writable:true,value:Number.prototype.toLocaleString})
Object.defineProperty(Number.prototype,"nv_valueOf",{writable:true,value:Number.prototype.valueOf})
Object.defineProperty(Number.prototype,"nv_toFixed",{writable:true,value:Number.prototype.toFixed})
Object.defineProperty(Number.prototype,"nv_toExponential",{writable:true,value:Number.prototype.toExponential})
Object.defineProperty(Number.prototype,"nv_toPrecision",{writable:true,value:Number.prototype.toPrecision})
}
var nf_init_Math=function(){
Object.defineProperty(Math,"nv_E",{writable:false,value:Math.E})
Object.defineProperty(Math,"nv_LN10",{writable:false,value:Math.LN10})
Object.defineProperty(Math,"nv_LN2",{writable:false,value:Math.LN2})
Object.defineProperty(Math,"nv_LOG2E",{writable:false,value:Math.LOG2E})
Object.defineProperty(Math,"nv_LOG10E",{writable:false,value:Math.LOG10E})
Object.defineProperty(Math,"nv_PI",{writable:false,value:Math.PI})
Object.defineProperty(Math,"nv_SQRT1_2",{writable:false,value:Math.SQRT1_2})
Object.defineProperty(Math,"nv_SQRT2",{writable:false,value:Math.SQRT2})
Object.defineProperty(Math,"nv_abs",{writable:false,value:Math.abs})
Object.defineProperty(Math,"nv_acos",{writable:false,value:Math.acos})
Object.defineProperty(Math,"nv_asin",{writable:false,value:Math.asin})
Object.defineProperty(Math,"nv_atan",{writable:false,value:Math.atan})
Object.defineProperty(Math,"nv_atan2",{writable:false,value:Math.atan2})
Object.defineProperty(Math,"nv_ceil",{writable:false,value:Math.ceil})
Object.defineProperty(Math,"nv_cos",{writable:false,value:Math.cos})
Object.defineProperty(Math,"nv_exp",{writable:false,value:Math.exp})
Object.defineProperty(Math,"nv_floor",{writable:false,value:Math.floor})
Object.defineProperty(Math,"nv_log",{writable:false,value:Math.log})
Object.defineProperty(Math,"nv_max",{writable:false,value:Math.max})
Object.defineProperty(Math,"nv_min",{writable:false,value:Math.min})
Object.defineProperty(Math,"nv_pow",{writable:false,value:Math.pow})
Object.defineProperty(Math,"nv_random",{writable:false,value:Math.random})
Object.defineProperty(Math,"nv_round",{writable:false,value:Math.round})
Object.defineProperty(Math,"nv_sin",{writable:false,value:Math.sin})
Object.defineProperty(Math,"nv_sqrt",{writable:false,value:Math.sqrt})
Object.defineProperty(Math,"nv_tan",{writable:false,value:Math.tan})
}
var nf_init_Date=function(){
Object.defineProperty(Date.prototype,"nv_constructor",{writable:true,value:"Date"})
Object.defineProperty(Date,"nv_parse",{writable:true,value:Date.parse})
Object.defineProperty(Date,"nv_UTC",{writable:true,value:Date.UTC})
Object.defineProperty(Date,"nv_now",{writable:true,value:Date.now})
Object.defineProperty(Date.prototype,"nv_toString",{writable:true,value:Date.prototype.toString})
Object.defineProperty(Date.prototype,"nv_toDateString",{writable:true,value:Date.prototype.toDateString})
Object.defineProperty(Date.prototype,"nv_toTimeString",{writable:true,value:Date.prototype.toTimeString})
Object.defineProperty(Date.prototype,"nv_toLocaleString",{writable:true,value:Date.prototype.toLocaleString})
Object.defineProperty(Date.prototype,"nv_toLocaleDateString",{writable:true,value:Date.prototype.toLocaleDateString})
Object.defineProperty(Date.prototype,"nv_toLocaleTimeString",{writable:true,value:Date.prototype.toLocaleTimeString})
Object.defineProperty(Date.prototype,"nv_valueOf",{writable:true,value:Date.prototype.valueOf})
Object.defineProperty(Date.prototype,"nv_getTime",{writable:true,value:Date.prototype.getTime})
Object.defineProperty(Date.prototype,"nv_getFullYear",{writable:true,value:Date.prototype.getFullYear})
Object.defineProperty(Date.prototype,"nv_getUTCFullYear",{writable:true,value:Date.prototype.getUTCFullYear})
Object.defineProperty(Date.prototype,"nv_getMonth",{writable:true,value:Date.prototype.getMonth})
Object.defineProperty(Date.prototype,"nv_getUTCMonth",{writable:true,value:Date.prototype.getUTCMonth})
Object.defineProperty(Date.prototype,"nv_getDate",{writable:true,value:Date.prototype.getDate})
Object.defineProperty(Date.prototype,"nv_getUTCDate",{writable:true,value:Date.prototype.getUTCDate})
Object.defineProperty(Date.prototype,"nv_getDay",{writable:true,value:Date.prototype.getDay})
Object.defineProperty(Date.prototype,"nv_getUTCDay",{writable:true,value:Date.prototype.getUTCDay})
Object.defineProperty(Date.prototype,"nv_getHours",{writable:true,value:Date.prototype.getHours})
Object.defineProperty(Date.prototype,"nv_getUTCHours",{writable:true,value:Date.prototype.getUTCHours})
Object.defineProperty(Date.prototype,"nv_getMinutes",{writable:true,value:Date.prototype.getMinutes})
Object.defineProperty(Date.prototype,"nv_getUTCMinutes",{writable:true,value:Date.prototype.getUTCMinutes})
Object.defineProperty(Date.prototype,"nv_getSeconds",{writable:true,value:Date.prototype.getSeconds})
Object.defineProperty(Date.prototype,"nv_getUTCSeconds",{writable:true,value:Date.prototype.getUTCSeconds})
Object.defineProperty(Date.prototype,"nv_getMilliseconds",{writable:true,value:Date.prototype.getMilliseconds})
Object.defineProperty(Date.prototype,"nv_getUTCMilliseconds",{writable:true,value:Date.prototype.getUTCMilliseconds})
Object.defineProperty(Date.prototype,"nv_getTimezoneOffset",{writable:true,value:Date.prototype.getTimezoneOffset})
Object.defineProperty(Date.prototype,"nv_setTime",{writable:true,value:Date.prototype.setTime})
Object.defineProperty(Date.prototype,"nv_setMilliseconds",{writable:true,value:Date.prototype.setMilliseconds})
Object.defineProperty(Date.prototype,"nv_setUTCMilliseconds",{writable:true,value:Date.prototype.setUTCMilliseconds})
Object.defineProperty(Date.prototype,"nv_setSeconds",{writable:true,value:Date.prototype.setSeconds})
Object.defineProperty(Date.prototype,"nv_setUTCSeconds",{writable:true,value:Date.prototype.setUTCSeconds})
Object.defineProperty(Date.prototype,"nv_setMinutes",{writable:true,value:Date.prototype.setMinutes})
Object.defineProperty(Date.prototype,"nv_setUTCMinutes",{writable:true,value:Date.prototype.setUTCMinutes})
Object.defineProperty(Date.prototype,"nv_setHours",{writable:true,value:Date.prototype.setHours})
Object.defineProperty(Date.prototype,"nv_setUTCHours",{writable:true,value:Date.prototype.setUTCHours})
Object.defineProperty(Date.prototype,"nv_setDate",{writable:true,value:Date.prototype.setDate})
Object.defineProperty(Date.prototype,"nv_setUTCDate",{writable:true,value:Date.prototype.setUTCDate})
Object.defineProperty(Date.prototype,"nv_setMonth",{writable:true,value:Date.prototype.setMonth})
Object.defineProperty(Date.prototype,"nv_setUTCMonth",{writable:true,value:Date.prototype.setUTCMonth})
Object.defineProperty(Date.prototype,"nv_setFullYear",{writable:true,value:Date.prototype.setFullYear})
Object.defineProperty(Date.prototype,"nv_setUTCFullYear",{writable:true,value:Date.prototype.setUTCFullYear})
Object.defineProperty(Date.prototype,"nv_toUTCString",{writable:true,value:Date.prototype.toUTCString})
Object.defineProperty(Date.prototype,"nv_toISOString",{writable:true,value:Date.prototype.toISOString})
Object.defineProperty(Date.prototype,"nv_toJSON",{writable:true,value:Date.prototype.toJSON})
}
var nf_init_RegExp=function(){
Object.defineProperty(RegExp.prototype,"nv_constructor",{writable:true,value:"RegExp"})
Object.defineProperty(RegExp.prototype,"nv_exec",{writable:true,value:RegExp.prototype.exec})
Object.defineProperty(RegExp.prototype,"nv_test",{writable:true,value:RegExp.prototype.test})
Object.defineProperty(RegExp.prototype,"nv_toString",{writable:true,value:RegExp.prototype.toString})
Object.defineProperty(RegExp.prototype,"nv_source",{get:function(){return this.source;},set:function(){}});
Object.defineProperty(RegExp.prototype,"nv_global",{get:function(){return this.global;},set:function(){}});
Object.defineProperty(RegExp.prototype,"nv_ignoreCase",{get:function(){return this.ignoreCase;},set:function(){}});
Object.defineProperty(RegExp.prototype,"nv_multiline",{get:function(){return this.multiline;},set:function(){}});
Object.defineProperty(RegExp.prototype,"nv_lastIndex",{get:function(){return this.lastIndex;},set:function(v){this.lastIndex=v;}});
}
nf_init();
var nv_getDate=function(){var args=Array.prototype.slice.call(arguments);args.unshift(Date);return new(Function.prototype.bind.apply(Date, args));}
var nv_getRegExp=function(){var args=Array.prototype.slice.call(arguments);args.unshift(RegExp);return new(Function.prototype.bind.apply(RegExp, args));}
var nv_console={}
nv_console.nv_log=function(){var res="WXSRT:";for(var i=0;i<arguments.length;++i)res+=arguments[i]+" ";console.log(res);}
var nv_parseInt = parseInt, nv_parseFloat = parseFloat, nv_isNaN = isNaN, nv_isFinite = isFinite, nv_decodeURI = decodeURI, nv_decodeURIComponent = decodeURIComponent, nv_encodeURI = encodeURI, nv_encodeURIComponent = encodeURIComponent;
function $gdc(o,p,r) {
o=wh.rv(o);
if(o===null||o===undefined) return o;
if(o.constructor===String||o.constructor===Boolean||o.constructor===Number) return o;
if(o.constructor===Object){
var copy={};
for(var k in o)
if(o.hasOwnProperty(k))
if(undefined===p) copy[k.substring(3)]=$gdc(o[k],p,r);
else copy[p+k]=$gdc(o[k],p,r);
return copy;
}
if(o.constructor===Array){
var copy=[];
for(var i=0;i<o.length;i++) copy.push($gdc(o[i],p,r));
return copy;
}
if(o.constructor===Date){
var copy=new Date();
copy.setTime(o.getTime());
return copy;
}
if(o.constructor===RegExp){
var f="";
if(o.global) f+="g";
if(o.ignoreCase) f+="i";
if(o.multiline) f+="m";
return (new RegExp(o.source,f));
}
if(r&&o.constructor===Function){
if ( r == 1 ) return $gdc(o(),undefined, 2);
if ( r == 2 ) return o;
}
return null;
}
var nv_JSON={}
nv_JSON.nv_stringify=function(o){
JSON.stringify(o);
return JSON.stringify($gdc(o));
}
nv_JSON.nv_parse=function(o){
if(o===undefined) return undefined;
var t=JSON.parse(o);
return $gdc(t,'nv_');
}

function _af(p, a, r, c){
p.extraAttr = {"t_action": a, "t_rawid": r };
if ( typeof(c) != 'undefined' ) p.extraAttr.t_cid = c;
}

function _ai(i,p,e,me,r,c){var x=_grp(p,e,me);if(x)i.push(x);else{i.push('');_wp(me+':import:'+r+':'+c+': Path `'+p+'` not found from `'+me+'`.')}}
function _grp(p,e,me){if(p[0]!='/'){var mepart=me.split('/');mepart.pop();var ppart=p.split('/');for(var i=0;i<ppart.length;i++){if( ppart[i]=='..')mepart.pop();else if(!ppart[i]||ppart[i]=='.')continue;else mepart.push(ppart[i]);}p=mepart.join('/');}if(me[0]=='.'&&p[0]=='/')p='.'+p;if(e[p])return p;if(e[p+'.wxml'])return p+'.wxml';}
function _gd(p,c,e,d){if(!c)return;if(d[p][c])return d[p][c];for(var x=e[p].i.length-1;x>=0;x--){if(e[p].i[x]&&d[e[p].i[x]][c])return d[e[p].i[x]][c]};for(var x=e[p].ti.length-1;x>=0;x--){var q=_grp(e[p].ti[x],e,p);if(q&&d[q][c])return d[q][c]}var ii=_gapi(e,p);for(var x=0;x<ii.length;x++){if(ii[x]&&d[ii[x]][c])return d[ii[x]][c]}for(var k=e[p].j.length-1;k>=0;k--)if(e[p].j[k]){for(var q=e[e[p].j[k]].ti.length-1;q>=0;q--){var pp=_grp(e[e[p].j[k]].ti[q],e,p);if(pp&&d[pp][c]){return d[pp][c]}}}}
function _gapi(e,p){if(!p)return [];if($gaic[p]){return $gaic[p]};var ret=[],q=[],h=0,t=0,put={},visited={};q.push(p);visited[p]=true;t++;while(h<t){var a=q[h++];for(var i=0;i<e[a].ic.length;i++){var nd=e[a].ic[i];var np=_grp(nd,e,a);if(np&&!visited[np]){visited[np]=true;q.push(np);t++;}}for(var i=0;a!=p&&i<e[a].ti.length;i++){var ni=e[a].ti[i];var nm=_grp(ni,e,a);if(nm&&!put[nm]){put[nm]=true;ret.push(nm);}}}$gaic[p]=ret;return ret;}
var $ixc={};function _ic(p,ent,me,e,s,r,gg){var x=_grp(p,ent,me);ent[me].j.push(x);if(x){if($ixc[x]){_wp('-1:include:-1:-1: `'+p+'` is being included in a loop, will be stop.');return;}$ixc[x]=true;try{ent[x].f(e,s,r,gg)}catch(e){}$ixc[x]=false;}else{_wp(me+':include:-1:-1: Included path `'+p+'` not found from `'+me+'`.')}}
function _w(tn,f,line,c){_wp(f+':template:'+line+':'+c+': Template `'+tn+'` not found.');}function _ev(dom){var changed=false;delete dom.properities;delete dom.n;if(dom.children){do{changed=false;var newch = [];for(var i=0;i<dom.children.length;i++){var ch=dom.children[i];if( ch.tag=='virtual'){changed=true;for(var j=0;ch.children&&j<ch.children.length;j++){newch.push(ch.children[j]);}}else { newch.push(ch); } } dom.children = newch; }while(changed);for(var i=0;i<dom.children.length;i++){_ev(dom.children[i]);}} return dom; }
function _tsd( root )
{
if( root.tag == "wx-wx-scope" ) 
{
root.tag = "virtual";
root.wxCkey = "11";
root['wxScopeData'] = root.attr['wx:scope-data'];
delete root.n;
delete root.raw;
delete root.generics;
delete root.attr;
}
for( var i = 0 ; root.children && i < root.children.length ; i++ )
{
_tsd( root.children[i] );
}
return root;
}

var e_={}
if(typeof(global.entrys)==='undefined')global.entrys={};e_=global.entrys;
var d_={}
if(typeof(global.defines)==='undefined')global.defines={};d_=global.defines;
var f_={}
if(typeof(global.modules)==='undefined')global.modules={};f_=global.modules || {};
var p_={}
__WXML_GLOBAL__.ops_cached = __WXML_GLOBAL__.ops_cached || {}
__WXML_GLOBAL__.ops_set = __WXML_GLOBAL__.ops_set || {};
__WXML_GLOBAL__.ops_init = __WXML_GLOBAL__.ops_init || {};
var z=__WXML_GLOBAL__.ops_set.$gwx || [];
function gz$gwx_1(){
if( __WXML_GLOBAL__.ops_cached.$gwx_1)return __WXML_GLOBAL__.ops_cached.$gwx_1
__WXML_GLOBAL__.ops_cached.$gwx_1=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[7],[3,'isShown']])
})(__WXML_GLOBAL__.ops_cached.$gwx_1);return __WXML_GLOBAL__.ops_cached.$gwx_1
}
function gz$gwx_2(){
if( __WXML_GLOBAL__.ops_cached.$gwx_2)return __WXML_GLOBAL__.ops_cached.$gwx_2
__WXML_GLOBAL__.ops_cached.$gwx_2=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
})(__WXML_GLOBAL__.ops_cached.$gwx_2);return __WXML_GLOBAL__.ops_cached.$gwx_2
}
function gz$gwx_3(){
if( __WXML_GLOBAL__.ops_cached.$gwx_3)return __WXML_GLOBAL__.ops_cached.$gwx_3
__WXML_GLOBAL__.ops_cached.$gwx_3=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[7],[3,'_visible']])
})(__WXML_GLOBAL__.ops_cached.$gwx_3);return __WXML_GLOBAL__.ops_cached.$gwx_3
}
function gz$gwx_4(){
if( __WXML_GLOBAL__.ops_cached.$gwx_4)return __WXML_GLOBAL__.ops_cached.$gwx_4
__WXML_GLOBAL__.ops_cached.$gwx_4=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'editor-type-card'])
})(__WXML_GLOBAL__.ops_cached.$gwx_4);return __WXML_GLOBAL__.ops_cached.$gwx_4
}
function gz$gwx_5(){
if( __WXML_GLOBAL__.ops_cached.$gwx_5)return __WXML_GLOBAL__.ops_cached.$gwx_5
__WXML_GLOBAL__.ops_cached.$gwx_5=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
})(__WXML_GLOBAL__.ops_cached.$gwx_5);return __WXML_GLOBAL__.ops_cached.$gwx_5
}
function gz$gwx_6(){
if( __WXML_GLOBAL__.ops_cached.$gwx_6)return __WXML_GLOBAL__.ops_cached.$gwx_6
__WXML_GLOBAL__.ops_cached.$gwx_6=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'collectFormId'])
})(__WXML_GLOBAL__.ops_cached.$gwx_6);return __WXML_GLOBAL__.ops_cached.$gwx_6
}
function gz$gwx_7(){
if( __WXML_GLOBAL__.ops_cached.$gwx_7)return __WXML_GLOBAL__.ops_cached.$gwx_7
__WXML_GLOBAL__.ops_cached.$gwx_7=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'button'])
})(__WXML_GLOBAL__.ops_cached.$gwx_7);return __WXML_GLOBAL__.ops_cached.$gwx_7
}
function gz$gwx_8(){
if( __WXML_GLOBAL__.ops_cached.$gwx_8)return __WXML_GLOBAL__.ops_cached.$gwx_8
__WXML_GLOBAL__.ops_cached.$gwx_8=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[7],[3,'isShown']])
Z([[7],[3,'isShownDialog']])
})(__WXML_GLOBAL__.ops_cached.$gwx_8);return __WXML_GLOBAL__.ops_cached.$gwx_8
}
function gz$gwx_9(){
if( __WXML_GLOBAL__.ops_cached.$gwx_9)return __WXML_GLOBAL__.ops_cached.$gwx_9
__WXML_GLOBAL__.ops_cached.$gwx_9=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'editor_content_view'])
Z([3,'contentIndex'])
Z([3,'item'])
Z([[7],[3,'content']])
Z([3,'id'])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'title']])
Z([3,'section__title__content'])
Z([3,'main-title'])
Z([[2,'=='],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'activeAlignValue']],[1,'flex-start']])
Z([[2,'=='],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'activeAlignValue']],[1,'flex-end']])
Z([[2,'&&'],[[2,'=='],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'activeAlignId']],[1,3]],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'subtitle']]])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'text']])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'image']])
Z([[9],[[9],[[8],'item',[[7],[3,'item']]],[[8],'contentIndex',[[7],[3,'contentIndex']]]],[[8],'mode',[1,'view']]])
Z([3,'image-layout'])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'link']])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'location']])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'contact']])
Z([[6],[[6],[[7],[3,'item']],[3,'data']],[3,'address']])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'video']])
Z([[6],[[6],[[7],[3,'item']],[3,'data']],[3,'content']])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'panorama']])
Z([[6],[[6],[[7],[3,'item']],[3,'data']],[3,'spec']])
Z([[2,'||'],[[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'navigation']],[[2,'==='],[[6],[[7],[3,'item']],[3,'type']],[1,'navigation.productcase']]])
Z([[9],[[9],[[8],'navigation',[[6],[[7],[3,'item']],[3,'data']]],[[8],'key',[[7],[3,'contentIndex']]]],[[8],'mode',[1,'view']]])
Z([3,'editor-type-navigation'])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'application']])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'coupon']])
Z([3,'redirectToCouponList'])
Z([3,'section__coupon'])
Z([[2,'>'],[[6],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'list']],[3,'length']],[1,3]])
Z([a,[3,'section__coupon__bd '],[[2,'?:'],[[6],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'list']],[3,'length']],[1,''],[1,'section__coupon__bd--empty']]])
Z([[6],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'list']],[3,'length']])
Z([3,'idx'])
Z([3,'coupon'])
Z([[6],[[6],[[7],[3,'item']],[3,'data']],[3,'list']])
Z(z[4])
Z([[9],[[10],[[7],[3,'coupon']]],[[8],'origin',[1,'editor']]])
Z([3,'minicard'])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'groupon']])
Z([a,[3,'section__groupon__bd '],[[2,'?:'],[[6],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'list']],[3,'length']],[1,''],[1,'editor__groupon__bd--empty']]])
Z(z[32])
Z(z[33])
Z([3,'groupon'])
Z(z[35])
Z(z[4])
Z([[9],[[9],[[10],[[7],[3,'groupon']]],[[8],'origin',[1,'editor']]],[[8],'index',[[7],[3,'idx']]]])
Z(z[43])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'bargaining']])
Z([a,z[40][1],z[40][2]])
Z(z[32])
Z(z[33])
Z([3,'bargaining'])
Z(z[35])
Z(z[4])
Z([[9],[[9],[[10],[[7],[3,'bargaining']]],[[8],'origin',[1,'editor']]],[[8],'index',[[7],[3,'idx']]]])
Z(z[52])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'quicklink']])
Z([[9],[[8],'list',[[7],[3,'item']]],[[8],'layoutid',[[6],[[7],[3,'item']],[3,'layoutid']]]])
Z([3,'quicklink'])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'form']])
Z([[9],[[9],[[8],'form',[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'form']]],[[8],'fields',[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'fields']]]],[[8],'preset',[[9],[[8],'position',[[7],[3,'presetPosition']]],[[8],'index',[[7],[3,'contentIndex']]]]]])
Z([3,'form'])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'search']])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'activity']])
Z([[10],[[6],[[7],[3,'item']],[3,'data']]])
Z([3,'section-activity'])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'raffle']])
})(__WXML_GLOBAL__.ops_cached.$gwx_9);return __WXML_GLOBAL__.ops_cached.$gwx_9
}
function gz$gwx_10(){
if( __WXML_GLOBAL__.ops_cached.$gwx_10)return __WXML_GLOBAL__.ops_cached.$gwx_10
__WXML_GLOBAL__.ops_cached.$gwx_10=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'actionSheet'])
Z([[6],[[7],[3,'$$actionSheet']],[3,'isShown']])
})(__WXML_GLOBAL__.ops_cached.$gwx_10);return __WXML_GLOBAL__.ops_cached.$gwx_10
}
function gz$gwx_11(){
if( __WXML_GLOBAL__.ops_cached.$gwx_11)return __WXML_GLOBAL__.ops_cached.$gwx_11
__WXML_GLOBAL__.ops_cached.$gwx_11=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'editor-toolbar'])
Z([3,'editor'])
Z([[9],[[9],[[8],'data',[[7],[3,'actionSheetData']]],[[8],'$$actionSheet',[[7],[3,'$$actionSheet']]]],[[8],'sid',[[7],[3,'sid']]]])
Z([3,'actionSheet'])
Z([[9],[[8],'$$link',[[7],[3,'$$link']]],[[8],'extraClass',[1,'text-center']]])
Z([3,'link-menu'])
Z([[9],[[8],'$$imageLayoutPicker',[[7],[3,'$$imageLayoutPicker']]],[[8],'sid',[[7],[3,'sid']]]])
Z([3,'image-layout-picker'])
Z([a,[3,'editor '],[[2,'?:'],[[2,'&&'],[[7],[3,'sections']],[[6],[[7],[3,'sections']],[3,'length']]],[1,''],[1,'editor_empty']]])
Z([[7],[3,'sections']])
Z([3,'index'])
Z([3,'editor__holder'])
Z([[2,'==='],[[7],[3,'toolbarShownIndex']],[[7],[3,'index']]])
Z([[9],[[8],'types',[[7],[3,'types']]],[[8],'sectionIndex',[[7],[3,'index']]]])
Z(z[0])
Z([[2,'!=='],[[7],[3,'index']],[1,0]])
Z([a,[3,'editor__section editor__section__'],[[6],[[7],[3,'item']],[3,'type']]])
Z([[2,'==='],[[6],[[7],[3,'item']],[3,'type']],[1,'title']])
Z([3,'$$editorEditTitle'])
Z([a,[3,'editor__title__wrap '],[[2,'||'],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'activeAlignValue']],[1,'flex-start']],[3,' title-layout--'],[[2,'||'],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'activeAlignId']],[1,1]]])
Z([[6],[[6],[[7],[3,'item']],[3,'data']],[3,'content']])
Z([[7],[3,'index']])
Z([[2,'||'],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'style']],[1,'font-weight: 700;']])
Z([[2,'&&'],[[2,'=='],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'activeAlignId']],[1,3]],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'subtitle']]])
Z([[2,'==='],[[6],[[7],[3,'item']],[3,'type']],[1,'text']])
Z([[2,'==='],[[6],[[7],[3,'item']],[3,'type']],[1,'image']])
Z([[2,'||'],[[2,'==='],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'model']],[1,'swiper']],[[2,'!'],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'model']]]])
Z([[6],[[6],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'images']],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'current']]],[3,'desc']])
Z([[2,'==='],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'model']],[1,'splicing']])
Z([[9],[[9],[[8],'item',[[7],[3,'item']]],[[8],'contentIndex',[[7],[3,'index']]]],[[8],'mode',[1,'edit']]])
Z([3,'image-layout-splicing'])
Z([[2,'==='],[[6],[[7],[3,'item']],[3,'type']],[1,'location']])
Z([[2,'==='],[[6],[[7],[3,'item']],[3,'type']],[1,'link']])
Z([[2,'==='],[[6],[[7],[3,'item']],[3,'type']],[1,'contact']])
Z([[8],'card',[[6],[[7],[3,'item']],[3,'data']]])
Z([3,'editor-type-card'])
Z([[2,'==='],[[6],[[7],[3,'item']],[3,'type']],[1,'video']])
Z([[2,'==='],[[6],[[7],[3,'item']],[3,'type']],[1,'panorama']])
Z([[2,'||'],[[2,'==='],[[6],[[7],[3,'item']],[3,'type']],[1,'navigation']],[[2,'==='],[[6],[[7],[3,'item']],[3,'type']],[1,'navigation.productcase']]])
Z([[9],[[9],[[8],'navigation',[[6],[[7],[3,'item']],[3,'data']]],[[8],'key',[[7],[3,'index']]]],[[8],'mode',[1,'edit']]])
Z([3,'editor-type-navigation'])
Z([[2,'==='],[[6],[[7],[3,'item']],[3,'type']],[1,'application']])
Z([[2,'==='],[[6],[[7],[3,'item']],[3,'type']],[1,'coupon']])
Z([3,'editor__coupon'])
Z([[6],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'list']],[3,'length']])
Z([a,[3,'editor__coupon__bd '],[[2,'?:'],[[6],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'list']],[3,'length']],[1,''],[1,'editor__coupon__bd--empty']]])
Z(z[44])
Z([3,'idx'])
Z([3,'coupon'])
Z([[6],[[6],[[7],[3,'item']],[3,'data']],[3,'list']])
Z([3,'id'])
Z([[9],[[10],[[7],[3,'coupon']]],[[8],'origin',[1,'editor']]])
Z([3,'minicard'])
Z([[2,'==='],[[6],[[7],[3,'item']],[3,'type']],[1,'groupon']])
Z([a,[3,'editor__groupon__bd '],[[2,'?:'],[[6],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'list']],[3,'length']],[1,''],[1,'editor__groupon__bd--empty']]])
Z(z[44])
Z(z[47])
Z([3,'groupon'])
Z(z[49])
Z(z[50])
Z([[9],[[10],[[7],[3,'groupon']]],[[8],'origin',[1,'editor']]])
Z(z[57])
Z([[2,'==='],[[6],[[7],[3,'item']],[3,'type']],[1,'bargaining']])
Z([a,z[54][1],z[54][2]])
Z(z[44])
Z(z[47])
Z([3,'bargaining'])
Z(z[49])
Z(z[50])
Z([[9],[[10],[[7],[3,'bargaining']]],[[8],'origin',[1,'editor']]])
Z(z[66])
Z([[2,'==='],[[6],[[7],[3,'item']],[3,'type']],[1,'quicklink']])
Z([[9],[[8],'list',[[7],[3,'item']]],[[8],'layoutid',[[6],[[7],[3,'item']],[3,'layoutid']]]])
Z([3,'quicklink'])
Z([[2,'==='],[[6],[[7],[3,'item']],[3,'type']],[1,'form']])
Z([[9],[[9],[[9],[[8],'form',[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'form']]],[[8],'fields',[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'fields']]]],[[8],'preset',[[9],[[8],'position',[1,'site.content']],[[8],'index',[[7],[3,'contentIndex']]]]]],[[8],'hideOrigin',[1,true]]])
Z([3,'form'])
Z([[2,'==='],[[6],[[7],[3,'item']],[3,'type']],[1,'search']])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'activity']])
Z([[10],[[6],[[7],[3,'item']],[3,'data']]])
Z([3,'section-activity'])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'raffle']])
Z([3,'editor-toolbar_wrap'])
Z([[2,'=='],[[6],[[7],[3,'sections']],[3,'length']],[1,0]])
Z([[9],[[8],'types',[[7],[3,'types']]],[[8],'sectionIndex',[[6],[[7],[3,'sections']],[3,'length']]]])
Z(z[0])
})(__WXML_GLOBAL__.ops_cached.$gwx_11);return __WXML_GLOBAL__.ops_cached.$gwx_11
}
function gz$gwx_12(){
if( __WXML_GLOBAL__.ops_cached.$gwx_12)return __WXML_GLOBAL__.ops_cached.$gwx_12
__WXML_GLOBAL__.ops_cached.$gwx_12=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'editor-type-navigation'])
Z([3,'constiner__link'])
Z([[6],[[6],[[6],[[7],[3,'navigation']],[3,'nav']],[3,'list']],[3,'length']])
Z([[2,'&&'],[[2,'||'],[[2,'||'],[[2,'=='],[[6],[[6],[[6],[[7],[3,'navigation']],[3,'nav']],[3,'nav']],[3,'modid']],[1,2]],[[2,'=='],[[6],[[6],[[6],[[7],[3,'navigation']],[3,'nav']],[3,'nav']],[3,'modid']],[1,3]]],[[2,'&&'],[[2,'=='],[[6],[[6],[[6],[[7],[3,'navigation']],[3,'nav']],[3,'nav']],[3,'modid']],[1,4]],[[2,'||'],[[2,'!'],[[6],[[7],[3,'navigation']],[3,'category']]],[[2,'=='],[[6],[[7],[3,'navigation']],[3,'category']],[1,'services_project']]]]],[[2,'||'],[[2,'=='],[[6],[[7],[3,'navigation']],[3,'layout']],[1,1]],[[2,'!'],[[6],[[7],[3,'navigation']],[3,'layout']]]]])
Z([3,'index'])
Z([3,'item'])
Z([[6],[[6],[[7],[3,'navigation']],[3,'nav']],[3,'list']])
Z([3,'cid'])
Z([[2,'<'],[[7],[3,'index']],[[2,'?:'],[[2,'=='],[[7],[3,'mode']],[1,'edit']],[1,4],[1,6]]])
Z([3,'$$redirectToDetail'])
Z([a,[3,'link-list__detail '],[[2,'?:'],[[2,'=='],[[6],[[7],[3,'item']],[3,'modid']],[1,3]],[1,'product'],[1,'']]])
Z([[7],[3,'index']])
Z([[7],[3,'key']])
Z([[7],[3,'mode']])
Z([[2,'&&'],[[2,'=='],[[6],[[6],[[6],[[7],[3,'navigation']],[3,'nav']],[3,'nav']],[3,'modid']],[1,3]],[[2,'=='],[[6],[[7],[3,'item']],[3,'istop']],[1,'1']]])
Z([3,'link-content__remarks'])
Z([[2,'||'],[[2,'=='],[[6],[[7],[3,'item']],[3,'modid']],[1,3]],[[2,'=='],[[6],[[7],[3,'item']],[3,'modid']],[1,4]]])
Z([[2,'&&'],[[2,'=='],[[6],[[6],[[6],[[7],[3,'navigation']],[3,'nav']],[3,'nav']],[3,'modid']],[1,3]],[[2,'>='],[[6],[[7],[3,'item']],[3,'price']],[1,0.01]]])
Z([[2,'=='],[[6],[[6],[[6],[[7],[3,'navigation']],[3,'nav']],[3,'nav']],[3,'modid']],[1,2]])
Z([[2,'||'],[[2,'!'],[[6],[[7],[3,'navigation']],[3,'layout']]],[[2,'=='],[[6],[[7],[3,'navigation']],[3,'layout']],[1,2]]])
Z(z[6])
Z(z[7])
Z(z[8])
Z([[2,'&&'],[[2,'||'],[[2,'=='],[[6],[[6],[[6],[[7],[3,'navigation']],[3,'nav']],[3,'nav']],[3,'modid']],[1,3]],[[2,'&&'],[[2,'=='],[[6],[[6],[[6],[[7],[3,'navigation']],[3,'nav']],[3,'nav']],[3,'modid']],[1,4]],[[2,'||'],[[2,'!'],[[6],[[7],[3,'navigation']],[3,'category']]],[[2,'=='],[[6],[[7],[3,'navigation']],[3,'category']],[1,'services_project']]]]],[[2,'=='],[[6],[[7],[3,'navigation']],[3,'layout']],[1,2]]])
Z(z[6])
Z(z[7])
Z(z[8])
Z(z[9])
Z([a,[3,'productcase-item large '],[[2,'?:'],[[2,'=='],[[6],[[6],[[6],[[7],[3,'navigation']],[3,'nav']],[3,'nav']],[3,'modid']],[1,3]],[1,'x300'],[1,'']]])
Z(z[11])
Z(z[12])
Z(z[13])
Z(z[14])
Z([3,'flex'])
Z([[2,'=='],[[6],[[6],[[6],[[7],[3,'navigation']],[3,'nav']],[3,'nav']],[3,'modid']],[1,3]])
Z(z[17])
Z([[2,'=='],[[6],[[6],[[6],[[7],[3,'navigation']],[3,'nav']],[3,'nav']],[3,'modid']],[1,4]])
Z(z[17])
Z([[2,'&&'],[[2,'=='],[[6],[[6],[[6],[[7],[3,'navigation']],[3,'nav']],[3,'nav']],[3,'modid']],[1,4]],[[2,'=='],[[6],[[7],[3,'navigation']],[3,'category']],[1,'services_staff']]])
Z([[2,'=='],[[6],[[7],[3,'navigation']],[3,'layout']],[1,1]])
Z(z[6])
Z(z[7])
Z(z[8])
Z([[2,'=='],[[6],[[6],[[6],[[7],[3,'navigation']],[3,'nav']],[3,'nav']],[3,'modid']],[1,5]])
Z([[2,'||'],[[2,'||'],[[2,'!'],[[6],[[7],[3,'navigation']],[3,'layout']]],[[2,'=='],[[6],[[7],[3,'navigation']],[3,'layout']],[1,1]]],[[2,'=='],[[6],[[7],[3,'navigation']],[3,'layout']],[1,3]]])
Z(z[6])
Z(z[7])
Z(z[8])
Z(z[9])
Z([3,'productcase-item'])
Z(z[11])
Z(z[12])
Z(z[13])
Z([[2,'=='],[[6],[[7],[3,'navigation']],[3,'layout']],[1,3]])
Z([[2,'=='],[[6],[[7],[3,'navigation']],[3,'layout']],[1,2]])
Z(z[6])
Z(z[7])
Z([[2,'<'],[[7],[3,'index']],[[2,'?:'],[[2,'=='],[[7],[3,'mode']],[1,'edit']],[1,2],[1,6]]])
})(__WXML_GLOBAL__.ops_cached.$gwx_12);return __WXML_GLOBAL__.ops_cached.$gwx_12
}
function gz$gwx_13(){
if( __WXML_GLOBAL__.ops_cached.$gwx_13)return __WXML_GLOBAL__.ops_cached.$gwx_13
__WXML_GLOBAL__.ops_cached.$gwx_13=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'section-activity'])
})(__WXML_GLOBAL__.ops_cached.$gwx_13);return __WXML_GLOBAL__.ops_cached.$gwx_13
}
function gz$gwx_14(){
if( __WXML_GLOBAL__.ops_cached.$gwx_14)return __WXML_GLOBAL__.ops_cached.$gwx_14
__WXML_GLOBAL__.ops_cached.$gwx_14=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[7],[3,'item']])
})(__WXML_GLOBAL__.ops_cached.$gwx_14);return __WXML_GLOBAL__.ops_cached.$gwx_14
}
function gz$gwx_15(){
if( __WXML_GLOBAL__.ops_cached.$gwx_15)return __WXML_GLOBAL__.ops_cached.$gwx_15
__WXML_GLOBAL__.ops_cached.$gwx_15=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'item'])
Z([[2,'&&'],[[2,'=='],[[6],[[7],[3,'item']],[3,'isliving']],[1,1]],[[2,'!'],[[7],[3,'hideStatus']]]])
})(__WXML_GLOBAL__.ops_cached.$gwx_15);return __WXML_GLOBAL__.ops_cached.$gwx_15
}
function gz$gwx_16(){
if( __WXML_GLOBAL__.ops_cached.$gwx_16)return __WXML_GLOBAL__.ops_cached.$gwx_16
__WXML_GLOBAL__.ops_cached.$gwx_16=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'bargaining'])
})(__WXML_GLOBAL__.ops_cached.$gwx_16);return __WXML_GLOBAL__.ops_cached.$gwx_16
}
function gz$gwx_17(){
if( __WXML_GLOBAL__.ops_cached.$gwx_17)return __WXML_GLOBAL__.ops_cached.$gwx_17
__WXML_GLOBAL__.ops_cached.$gwx_17=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'coupon'])
Z([3,'toggleSelectStatus'])
Z([3,'coupon__wrap'])
Z([[7],[3,'index']])
Z([[7],[3,'isSelected']])
Z([3,'coupon__opt'])
Z([[2,'=='],[[7],[3,'origin']],[1,'editor']])
Z([[2,'=='],[[7],[3,'origin']],[1,'list']])
Z([[2,'=='],[[7],[3,'origin']],[1,'mylist']])
Z([[2,'=='],[[7],[3,'origin']],[1,'payment']])
})(__WXML_GLOBAL__.ops_cached.$gwx_17);return __WXML_GLOBAL__.ops_cached.$gwx_17
}
function gz$gwx_18(){
if( __WXML_GLOBAL__.ops_cached.$gwx_18)return __WXML_GLOBAL__.ops_cached.$gwx_18
__WXML_GLOBAL__.ops_cached.$gwx_18=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'minicard'])
})(__WXML_GLOBAL__.ops_cached.$gwx_18);return __WXML_GLOBAL__.ops_cached.$gwx_18
}
function gz$gwx_19(){
if( __WXML_GLOBAL__.ops_cached.$gwx_19)return __WXML_GLOBAL__.ops_cached.$gwx_19
__WXML_GLOBAL__.ops_cached.$gwx_19=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'form'])
})(__WXML_GLOBAL__.ops_cached.$gwx_19);return __WXML_GLOBAL__.ops_cached.$gwx_19
}
function gz$gwx_20(){
if( __WXML_GLOBAL__.ops_cached.$gwx_20)return __WXML_GLOBAL__.ops_cached.$gwx_20
__WXML_GLOBAL__.ops_cached.$gwx_20=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'groupon'])
Z([3,'viewGroupon'])
Z(z[0])
Z([[7],[3,'id']])
Z([[7],[3,'index']])
Z([[7],[3,'ismerchant']])
Z([[2,'=='],[[7],[3,'mode']],[1,'notstart']])
})(__WXML_GLOBAL__.ops_cached.$gwx_20);return __WXML_GLOBAL__.ops_cached.$gwx_20
}
function gz$gwx_21(){
if( __WXML_GLOBAL__.ops_cached.$gwx_21)return __WXML_GLOBAL__.ops_cached.$gwx_21
__WXML_GLOBAL__.ops_cached.$gwx_21=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'image-layout'])
Z([[2,'||'],[[2,'==='],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'model']],[1,'swiper']],[[2,'!'],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'model']]]])
Z([[2,'>'],[[6],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'images']],[3,'length']],[1,1]])
Z([3,'idx'])
Z([3,'imageCollection'])
Z([[6],[[6],[[7],[3,'item']],[3,'data']],[3,'images']])
Z([3,'fieldid'])
Z([3,'navigatImageLink'])
Z([[7],[3,'idx']])
Z([[7],[3,'contentIndex']])
Z([[7],[3,'mode']])
Z([3,'link'])
Z([[2,'&&'],[[2,'>'],[[6],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'images']],[3,'length']],[1,1]],[[6],[[7],[3,'imageCollection']],[3,'desc']]])
Z(z[7])
Z([1,0])
Z(z[9])
Z(z[10])
Z([[6],[[6],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'images']],[1,0]],[3,'desc']])
Z([[2,'==='],[[6],[[6],[[7],[3,'item']],[3,'data']],[3,'model']],[1,'splicing']])
Z([[9],[[9],[[8],'item',[[7],[3,'item']]],[[8],'contentIndex',[[7],[3,'contentIndex']]]],[[8],'mode',[[7],[3,'mode']]]])
Z([3,'image-layout-splicing'])
Z(z[20])
})(__WXML_GLOBAL__.ops_cached.$gwx_21);return __WXML_GLOBAL__.ops_cached.$gwx_21
}
function gz$gwx_22(){
if( __WXML_GLOBAL__.ops_cached.$gwx_22)return __WXML_GLOBAL__.ops_cached.$gwx_22
__WXML_GLOBAL__.ops_cached.$gwx_22=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'image-layout-picker'])
Z([[6],[[7],[3,'$$imageLayoutPicker']],[3,'isShown']])
})(__WXML_GLOBAL__.ops_cached.$gwx_22);return __WXML_GLOBAL__.ops_cached.$gwx_22
}
function gz$gwx_23(){
if( __WXML_GLOBAL__.ops_cached.$gwx_23)return __WXML_GLOBAL__.ops_cached.$gwx_23
__WXML_GLOBAL__.ops_cached.$gwx_23=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'quicklink'])
Z([a,[3,'quicklink-content '],[[12],[[6],[[7],[3,'classManage']],[3,'getContentClass']],[[5],[[6],[[7],[3,'list']],[3,'data']]]],[3,' '],[[2,'+'],[1,'content-layout'],[[2,'||'],[[7],[3,'layoutid']],[1,1]]]])
Z([[2,'||'],[[2,'!'],[[7],[3,'layoutid']]],[[2,'=='],[[7],[3,'layoutid']],[1,1]]])
Z([[2,'=='],[[7],[3,'layoutid']],[1,2]])
Z(z[0])
Z([[6],[[7],[3,'list']],[3,'data']])
Z([3,'linkid'])
Z([[2,'<'],[[7],[3,'index']],[1,4]])
Z([[2,'=='],[[7],[3,'layoutid']],[1,3]])
Z(z[0])
Z(z[5])
Z(z[6])
Z(z[7])
Z([[2,'==='],[[6],[[6],[[7],[3,'list']],[3,'data']],[3,'length']],[1,0]])
})(__WXML_GLOBAL__.ops_cached.$gwx_23);return __WXML_GLOBAL__.ops_cached.$gwx_23
}
function gz$gwx_24(){
if( __WXML_GLOBAL__.ops_cached.$gwx_24)return __WXML_GLOBAL__.ops_cached.$gwx_24
__WXML_GLOBAL__.ops_cached.$gwx_24=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[7],[3,'isExpireModalShown']])
Z([3,'modal renew'])
Z([[7],[3,'isCloseBtnShown']])
Z([[2,'&&'],[[7],[3,'isInSettings']],[[2,'=='],[[7],[3,'iscreator']],[1,1]]])
})(__WXML_GLOBAL__.ops_cached.$gwx_24);return __WXML_GLOBAL__.ops_cached.$gwx_24
}
function gz$gwx_25(){
if( __WXML_GLOBAL__.ops_cached.$gwx_25)return __WXML_GLOBAL__.ops_cached.$gwx_25
__WXML_GLOBAL__.ops_cached.$gwx_25=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'pointTap'])
Z([3,'fold-point'])
Z([a,[3,'padding-left:'],[[7],[3,'lrpd']],[3,'rpx;padding-right:'],[[7],[3,'lrpd']],[3,'rpx;']])
Z([3,'title'])
Z([3,'content'])
})(__WXML_GLOBAL__.ops_cached.$gwx_25);return __WXML_GLOBAL__.ops_cached.$gwx_25
}
function gz$gwx_26(){
if( __WXML_GLOBAL__.ops_cached.$gwx_26)return __WXML_GLOBAL__.ops_cached.$gwx_26
__WXML_GLOBAL__.ops_cached.$gwx_26=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
})(__WXML_GLOBAL__.ops_cached.$gwx_26);return __WXML_GLOBAL__.ops_cached.$gwx_26
}
function gz$gwx_27(){
if( __WXML_GLOBAL__.ops_cached.$gwx_27)return __WXML_GLOBAL__.ops_cached.$gwx_27
__WXML_GLOBAL__.ops_cached.$gwx_27=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
})(__WXML_GLOBAL__.ops_cached.$gwx_27);return __WXML_GLOBAL__.ops_cached.$gwx_27
}
function gz$gwx_28(){
if( __WXML_GLOBAL__.ops_cached.$gwx_28)return __WXML_GLOBAL__.ops_cached.$gwx_28
__WXML_GLOBAL__.ops_cached.$gwx_28=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'integral-list'])
})(__WXML_GLOBAL__.ops_cached.$gwx_28);return __WXML_GLOBAL__.ops_cached.$gwx_28
}
function gz$gwx_29(){
if( __WXML_GLOBAL__.ops_cached.$gwx_29)return __WXML_GLOBAL__.ops_cached.$gwx_29
__WXML_GLOBAL__.ops_cached.$gwx_29=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'link-menu'])
Z([[6],[[7],[3,'$$link']],[3,'menuShown']])
})(__WXML_GLOBAL__.ops_cached.$gwx_29);return __WXML_GLOBAL__.ops_cached.$gwx_29
}
function gz$gwx_30(){
if( __WXML_GLOBAL__.ops_cached.$gwx_30)return __WXML_GLOBAL__.ops_cached.$gwx_30
__WXML_GLOBAL__.ops_cached.$gwx_30=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[7],[3,'isShown']])
})(__WXML_GLOBAL__.ops_cached.$gwx_30);return __WXML_GLOBAL__.ops_cached.$gwx_30
}
function gz$gwx_31(){
if( __WXML_GLOBAL__.ops_cached.$gwx_31)return __WXML_GLOBAL__.ops_cached.$gwx_31
__WXML_GLOBAL__.ops_cached.$gwx_31=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[7],[3,'isShown']])
})(__WXML_GLOBAL__.ops_cached.$gwx_31);return __WXML_GLOBAL__.ops_cached.$gwx_31
}
function gz$gwx_32(){
if( __WXML_GLOBAL__.ops_cached.$gwx_32)return __WXML_GLOBAL__.ops_cached.$gwx_32
__WXML_GLOBAL__.ops_cached.$gwx_32=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[7],[3,'isShown']])
})(__WXML_GLOBAL__.ops_cached.$gwx_32);return __WXML_GLOBAL__.ops_cached.$gwx_32
}
function gz$gwx_33(){
if( __WXML_GLOBAL__.ops_cached.$gwx_33)return __WXML_GLOBAL__.ops_cached.$gwx_33
__WXML_GLOBAL__.ops_cached.$gwx_33=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
})(__WXML_GLOBAL__.ops_cached.$gwx_33);return __WXML_GLOBAL__.ops_cached.$gwx_33
}
function gz$gwx_34(){
if( __WXML_GLOBAL__.ops_cached.$gwx_34)return __WXML_GLOBAL__.ops_cached.$gwx_34
__WXML_GLOBAL__.ops_cached.$gwx_34=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[2,'=='],[[7],[3,'mode']],[1,'view']])
Z([a,[3,'components--manage '],[[2,'?:'],[[2,'!'],[[7],[3,'isTabInit']]],[1,'unsetbar'],[1,'']]])
Z([[2,'&&'],[[2,'&&'],[[7],[3,'isFromList']],[[7],[3,'isEditable']]],[[2,'=='],[[7],[3,'app']],[1,'site']]])
Z([[2,'&&'],[[2,'&&'],[[2,'!'],[[7],[3,'isFromList']]],[[7],[3,'isEditable']]],[[2,'=='],[[7],[3,'app']],[1,'site']]])
})(__WXML_GLOBAL__.ops_cached.$gwx_34);return __WXML_GLOBAL__.ops_cached.$gwx_34
}
function gz$gwx_35(){
if( __WXML_GLOBAL__.ops_cached.$gwx_35)return __WXML_GLOBAL__.ops_cached.$gwx_35
__WXML_GLOBAL__.ops_cached.$gwx_35=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[6],[[6],[[6],[[7],[3,'navigation']],[3,'site']],[3,'style']],[3,'isshownav']])
Z([[2,'=='],[[7],[3,'mode']],[1,'view']])
Z([3,'noaction'])
Z([a,[3,'sidebar--top '],[[2,'?:'],[[2,'=='],[[6],[[6],[[6],[[7],[3,'navigation']],[3,'site']],[3,'style']],[3,'nav']],[1,2]],[1,'style2'],[1,'']],[3,' '],[[2,'?:'],[[2,'=='],[[6],[[6],[[6],[[7],[3,'navigation']],[3,'site']],[3,'style']],[3,'nav']],[1,3]],[1,'style3'],[1,'']]])
Z([3,'sidebar__opts'])
Z([3,'toggleSidebar'])
Z([3,'sidebar__opt sidebar__opt-nav'])
Z([[6],[[7],[3,'navigation']],[3,'status']])
Z([[2,'||'],[[2,'=='],[[6],[[6],[[6],[[7],[3,'navigation']],[3,'site']],[3,'style']],[3,'nav']],[1,1]],[[2,'=='],[[6],[[6],[[6],[[7],[3,'navigation']],[3,'site']],[3,'style']],[3,'nav']],[1,3]]])
Z([[2,'=='],[[6],[[6],[[6],[[7],[3,'navigation']],[3,'site']],[3,'style']],[3,'nav']],[1,2]])
Z([[2,'=='],[[6],[[6],[[6],[[7],[3,'navigation']],[3,'site']],[3,'style']],[3,'nav']],[1,1]])
Z([[6],[[7],[3,'navigation']],[3,'animationData']])
Z([3,'sidebar__mainer'])
Z(z[7])
Z(z[7])
Z([3,'sidebar__bd'])
Z([3,'sidebar-navlist'])
Z([[2,'=='],[[6],[[6],[[6],[[7],[3,'navigation']],[3,'site']],[3,'style']],[3,'nav']],[1,3]])
Z([[2,'||'],[[2,'=='],[[6],[[6],[[6],[[7],[3,'navigation']],[3,'site']],[3,'style']],[3,'nav']],[1,2]],[[2,'=='],[[6],[[6],[[6],[[7],[3,'navigation']],[3,'site']],[3,'style']],[3,'nav']],[1,3]]])
Z([3,'idx'])
Z([3,'nav'])
Z([[6],[[7],[3,'navigation']],[3,'navs']])
Z(z[19])
Z(z[10])
Z([[2,'&&'],[[6],[[6],[[7],[3,'navigation']],[3,'site']],[3,'isedit']],[[2,'=='],[[6],[[6],[[7],[3,'navigation']],[3,'site']],[3,'app']],[1,'site']]])
})(__WXML_GLOBAL__.ops_cached.$gwx_35);return __WXML_GLOBAL__.ops_cached.$gwx_35
}
function gz$gwx_36(){
if( __WXML_GLOBAL__.ops_cached.$gwx_36)return __WXML_GLOBAL__.ops_cached.$gwx_36
__WXML_GLOBAL__.ops_cached.$gwx_36=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'order-actions'])
Z([[2,'=='],[[7],[3,'origin']],[1,'profile']])
Z([[2,'=='],[[7],[3,'status']],[[6],[[7],[3,'orderStatusMap']],[3,'unpaid']]])
Z([[2,'&&'],[[2,'&&'],[[7],[3,'isDetail']],[[2,'||'],[[2,'=='],[[7],[3,'status']],[[6],[[7],[3,'orderStatusMap']],[3,'paid']]],[[2,'=='],[[7],[3,'status']],[[6],[[7],[3,'orderStatusMap']],[3,'deliver']]]]],[[2,'||'],[[2,'||'],[[2,'||'],[[2,'=='],[[7],[3,'refundstatus']],[[6],[[7],[3,'refundStatusMap']],[3,'none']]],[[2,'=='],[[7],[3,'refundstatus']],[[6],[[7],[3,'refundStatusMap']],[3,'apply']]]],[[2,'=='],[[7],[3,'refundstatus']],[[6],[[7],[3,'refundStatusMap']],[3,'rejected']]]],[[2,'=='],[[7],[3,'refundstatus']],[[6],[[7],[3,'refundStatusMap']],[3,'refundFail']]]]])
Z([[2,'&&'],[[2,'&&'],[[2,'!='],[[7],[3,'total_fee']],[1,0]],[[2,'||'],[[2,'!'],[[7],[3,'grouponstatus']]],[[2,'=='],[[7],[3,'grouponstatus']],[1,0]]]],[[2,'!'],[[7],[3,'bargainid']]]])
Z([[2,'&&'],[[2,'=='],[[7],[3,'status']],[[6],[[7],[3,'orderStatusMap']],[3,'deliver']]],[[2,'||'],[[2,'=='],[[7],[3,'refundstatus']],[[6],[[7],[3,'refundStatusMap']],[3,'none']]],[[2,'=='],[[7],[3,'refundstatus']],[[6],[[7],[3,'refundStatusMap']],[3,'rejected']]]]])
Z([[2,'=='],[[7],[3,'status']],[[6],[[7],[3,'orderStatusMap']],[3,'done']]])
Z([[2,'=='],[[7],[3,'status']],[[6],[[7],[3,'orderStatusMap']],[3,'cancel']]])
Z([[2,'=='],[[7],[3,'status']],[[6],[[7],[3,'orderStatusMap']],[3,'deliver']]])
})(__WXML_GLOBAL__.ops_cached.$gwx_36);return __WXML_GLOBAL__.ops_cached.$gwx_36
}
function gz$gwx_37(){
if( __WXML_GLOBAL__.ops_cached.$gwx_37)return __WXML_GLOBAL__.ops_cached.$gwx_37
__WXML_GLOBAL__.ops_cached.$gwx_37=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
})(__WXML_GLOBAL__.ops_cached.$gwx_37);return __WXML_GLOBAL__.ops_cached.$gwx_37
}
function gz$gwx_38(){
if( __WXML_GLOBAL__.ops_cached.$gwx_38)return __WXML_GLOBAL__.ops_cached.$gwx_38
__WXML_GLOBAL__.ops_cached.$gwx_38=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'searchbar'])
Z([[2,'>'],[[6],[[7],[3,'keyword']],[3,'length']],[1,0]])
})(__WXML_GLOBAL__.ops_cached.$gwx_38);return __WXML_GLOBAL__.ops_cached.$gwx_38
}
function gz$gwx_39(){
if( __WXML_GLOBAL__.ops_cached.$gwx_39)return __WXML_GLOBAL__.ops_cached.$gwx_39
__WXML_GLOBAL__.ops_cached.$gwx_39=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[2,'=='],[[7],[3,'mode']],[1,'view']])
Z([[7],[3,'isSharePluginShow']])
Z([[7],[3,'isQrcodeShown']])
Z(z[1])
})(__WXML_GLOBAL__.ops_cached.$gwx_39);return __WXML_GLOBAL__.ops_cached.$gwx_39
}
function gz$gwx_40(){
if( __WXML_GLOBAL__.ops_cached.$gwx_40)return __WXML_GLOBAL__.ops_cached.$gwx_40
__WXML_GLOBAL__.ops_cached.$gwx_40=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'container__silder'])
Z([[6],[[7],[3,'slider']],[3,'sliderStatus']])
Z([[7],[3,'showSliderToast']])
})(__WXML_GLOBAL__.ops_cached.$gwx_40);return __WXML_GLOBAL__.ops_cached.$gwx_40
}
function gz$gwx_41(){
if( __WXML_GLOBAL__.ops_cached.$gwx_41)return __WXML_GLOBAL__.ops_cached.$gwx_41
__WXML_GLOBAL__.ops_cached.$gwx_41=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'getAutoLogo'])
Z([[7],[3,'logoChar']])
Z([3,'hideCNList'])
Z([3,'list'])
Z([3,'cell'])
Z([3,'clear'])
Z([3,'input'])
Z([3,'name'])
Z([[2,'==='],[[7],[3,'mode']],[1,'create']])
Z([3,'请输入官网名称'])
Z([[7],[3,'name']])
Z([[2,'!='],[[7],[3,'mode']],[1,'create']])
Z([3,'simulateBlur'])
Z(z[4])
Z(z[5])
Z(z[6])
Z([3,'companyname'])
Z([3,'请输入公司全称'])
Z([[7],[3,'companyname']])
Z(z[5])
Z(z[6])
Z([3,'tel'])
Z([3,'请输入公司电话号码'])
Z([3,'number'])
Z([[7],[3,'tel']])
Z(z[8])
Z([3,'worktime'])
Z([3,'selectaddress'])
Z([[2,'||'],[[2,'!'],[[7],[3,'isIniOS']]],[[2,'=='],[[7],[3,'version']],[1,0]]])
Z([[2,'!='],[[7],[3,'version']],[1,0]])
})(__WXML_GLOBAL__.ops_cached.$gwx_41);return __WXML_GLOBAL__.ops_cached.$gwx_41
}
function gz$gwx_42(){
if( __WXML_GLOBAL__.ops_cached.$gwx_42)return __WXML_GLOBAL__.ops_cached.$gwx_42
__WXML_GLOBAL__.ops_cached.$gwx_42=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
})(__WXML_GLOBAL__.ops_cached.$gwx_42);return __WXML_GLOBAL__.ops_cached.$gwx_42
}
function gz$gwx_43(){
if( __WXML_GLOBAL__.ops_cached.$gwx_43)return __WXML_GLOBAL__.ops_cached.$gwx_43
__WXML_GLOBAL__.ops_cached.$gwx_43=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'nav'])
Z([3,'mobile'])
Z([3,'map'])
Z([3,'members'])
Z([3,'cart'])
Z([3,'payment'])
Z([3,'focus'])
Z([3,'classify'])
Z([[2,'&&'],[[7],[3,'show']],[[2,'!'],[[7],[3,'isTabListEmpty']]]])
Z([3,'tabbar'])
Z([[7],[3,'isTabListLoading']])
Z([3,'index'])
Z([[7],[3,'tabList']])
Z(z[11])
Z([[9],[[9],[[9],[[9],[[9],[[10],[[7],[3,'item']]],[[8],'index',[[7],[3,'index']]]],[[8],'tabActive',[[7],[3,'tabActive']]]],[[8],'tabNormal',[[7],[3,'tabNormal']]]],[[8],'tabTextActive',[[7],[3,'tabTextActive']]]],[[8],'tabTextNormal',[[7],[3,'tabTextNormal']]]])
Z([[6],[[7],[3,'item']],[3,'type']])
})(__WXML_GLOBAL__.ops_cached.$gwx_43);return __WXML_GLOBAL__.ops_cached.$gwx_43
}
function gz$gwx_44(){
if( __WXML_GLOBAL__.ops_cached.$gwx_44)return __WXML_GLOBAL__.ops_cached.$gwx_44
__WXML_GLOBAL__.ops_cached.$gwx_44=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[7],[3,'show']])
})(__WXML_GLOBAL__.ops_cached.$gwx_44);return __WXML_GLOBAL__.ops_cached.$gwx_44
}
function gz$gwx_45(){
if( __WXML_GLOBAL__.ops_cached.$gwx_45)return __WXML_GLOBAL__.ops_cached.$gwx_45
__WXML_GLOBAL__.ops_cached.$gwx_45=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[2,'&&'],[[2,'&&'],[[2,'==='],[[7],[3,'app']],[1,'site']],[[2,'!'],[[7],[3,'isread']]]],[[7],[3,'isshown']]])
})(__WXML_GLOBAL__.ops_cached.$gwx_45);return __WXML_GLOBAL__.ops_cached.$gwx_45
}
function gz$gwx_46(){
if( __WXML_GLOBAL__.ops_cached.$gwx_46)return __WXML_GLOBAL__.ops_cached.$gwx_46
__WXML_GLOBAL__.ops_cached.$gwx_46=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'touchEnd'])
Z([3,'touchMove'])
Z([3,'touchStart'])
Z([3,'cropper-wrapper'])
Z([[2,'!'],[[7],[3,'show']]])
Z([[10],[[7],[3,'cropperOpt']]])
Z([3,'we-cropper'])
})(__WXML_GLOBAL__.ops_cached.$gwx_46);return __WXML_GLOBAL__.ops_cached.$gwx_46
}
function gz$gwx_47(){
if( __WXML_GLOBAL__.ops_cached.$gwx_47)return __WXML_GLOBAL__.ops_cached.$gwx_47
__WXML_GLOBAL__.ops_cached.$gwx_47=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'we-cropper'])
})(__WXML_GLOBAL__.ops_cached.$gwx_47);return __WXML_GLOBAL__.ops_cached.$gwx_47
}
function gz$gwx_48(){
if( __WXML_GLOBAL__.ops_cached.$gwx_48)return __WXML_GLOBAL__.ops_cached.$gwx_48
__WXML_GLOBAL__.ops_cached.$gwx_48=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[7],[3,'isShown']])
Z([3,'triggerLogin'])
Z([[7],[3,'className']])
Z([[7],[3,'uid']])
})(__WXML_GLOBAL__.ops_cached.$gwx_48);return __WXML_GLOBAL__.ops_cached.$gwx_48
}
function gz$gwx_49(){
if( __WXML_GLOBAL__.ops_cached.$gwx_49)return __WXML_GLOBAL__.ops_cached.$gwx_49
__WXML_GLOBAL__.ops_cached.$gwx_49=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[7],[3,'isLoginModalShown']])
Z([3,'site-item'])
Z([[6],[[7],[3,'item']],[3,'isexpire']])
Z([[2,'!'],[[7],[3,'isLoading']]])
Z([[2,'&&'],[[2,'=='],[[6],[[7],[3,'createList']],[3,'length']],[1,0]],[[2,'=='],[[6],[[7],[3,'manageList']],[3,'length']],[1,0]]])
Z([[6],[[7],[3,'createList']],[3,'length']])
Z([[7],[3,'createList']])
Z([[7],[3,'index']])
Z([[8],'item',[[7],[3,'item']]])
Z(z[1])
Z([[6],[[7],[3,'manageList']],[3,'length']])
Z([[7],[3,'manageList']])
Z(z[7])
Z(z[8])
Z(z[1])
Z([1,true])
Z([3,'已到底，可别再拉咯'])
Z([[7],[3,'isLoading']])
})(__WXML_GLOBAL__.ops_cached.$gwx_49);return __WXML_GLOBAL__.ops_cached.$gwx_49
}
function gz$gwx_50(){
if( __WXML_GLOBAL__.ops_cached.$gwx_50)return __WXML_GLOBAL__.ops_cached.$gwx_50
__WXML_GLOBAL__.ops_cached.$gwx_50=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[7],[3,'versions']])
Z([[6],[[7],[3,'item']],[3,'vid']])
Z([3,'switchVersion'])
Z([a,[3,'tab-item '],[[2,'?:'],[[2,'=='],[[7],[3,'activeVid']],[[6],[[7],[3,'item']],[3,'vid']]],[1,'active'],[1,'']]])
Z(z[1])
Z([[6],[[7],[3,'item']],[3,'hot']])
})(__WXML_GLOBAL__.ops_cached.$gwx_50);return __WXML_GLOBAL__.ops_cached.$gwx_50
}
function gz$gwx_51(){
if( __WXML_GLOBAL__.ops_cached.$gwx_51)return __WXML_GLOBAL__.ops_cached.$gwx_51
__WXML_GLOBAL__.ops_cached.$gwx_51=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[7],[3,'isLoginModalShown']])
Z([3,'container'])
Z([[7],[3,'needVerifyMobile']])
Z([[2,'!'],[[6],[[7],[3,'provider']],[3,'isxmpagent']]])
Z([[6],[[7],[3,'provider']],[3,'id']])
Z([3,'verifySuccess'])
Z([[7],[3,'authMobileShow']])
})(__WXML_GLOBAL__.ops_cached.$gwx_51);return __WXML_GLOBAL__.ops_cached.$gwx_51
}
function gz$gwx_52(){
if( __WXML_GLOBAL__.ops_cached.$gwx_52)return __WXML_GLOBAL__.ops_cached.$gwx_52
__WXML_GLOBAL__.ops_cached.$gwx_52=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[2,'||'],[[7],[3,'needVerifyMobile']],[[7],[3,'member']]])
Z([3,'margin-bottom: 20rpx;'])
Z([[2,'=='],[[6],[[6],[[7],[3,'gather']],[3,'member']],[3,'isopen']],[1,1]])
Z([[2,'=='],[[6],[[7],[3,'member']],[3,'status']],[1,1]])
Z([[6],[[7],[3,'member']],[3,'grade']])
Z([[7],[3,'isShowMemberManage']])
Z([[2,'&&'],[[7],[3,'isShowMemberManage']],[[2,'=='],[[6],[[6],[[7],[3,'gather']],[3,'distribute']],[3,'isopen']],[1,1]]])
Z([[7],[3,'needVerifyMobile']])
Z([[6],[[7],[3,'gather']],[3,'order']])
Z([3,'cell-content'])
Z([3,'gotoOrderStatus'])
Z([3,'content-item'])
Z([3,'unpaid'])
Z([3,'hover'])
Z([[2,'>'],[[6],[[7],[3,'productOrderCount']],[3,'unpaid']],[1,0]])
Z(z[10])
Z(z[11])
Z([3,'paid'])
Z(z[13])
Z([[2,'>'],[[6],[[7],[3,'productOrderCount']],[3,'undeliver']],[1,0]])
Z([[6],[[7],[3,'gather']],[3,'service']])
Z(z[9])
Z([3,'gotoServiceStatus'])
Z(z[11])
Z(z[12])
Z(z[13])
Z([[2,'>'],[[6],[[7],[3,'servicesOrderCount']],[3,'unpaid']],[1,0]])
Z(z[22])
Z(z[11])
Z([3,'unconfirmed'])
Z(z[13])
Z([[2,'>'],[[6],[[7],[3,'servicesOrderCount']],[3,'unconfirmed']],[1,0]])
Z([3,'cell2'])
Z([[6],[[7],[3,'gather']],[3,'groupon']])
Z([[6],[[7],[3,'gather']],[3,'bargain']])
Z([[6],[[7],[3,'gather']],[3,'lottery']])
Z([[6],[[7],[3,'gather']],[3,'distribute']])
Z([3,'distributeCenter'])
Z([3,'cell2-item'])
Z(z[13])
Z([[7],[3,'distribute']])
Z(z[32])
Z([[6],[[7],[3,'gather']],[3,'conpous']])
Z([[6],[[7],[3,'gather']],[3,'shopcart']])
Z([[6],[[7],[3,'gather']],[3,'paybill']])
Z(z[32])
Z([[2,'&&'],[[2,'!='],[[6],[[6],[[7],[3,'sidebar']],[3,'site']],[3,'version']],[1,0]],[[2,'!='],[[6],[[6],[[7],[3,'sidebar']],[3,'site']],[3,'version']],[1,3]]])
Z([[6],[[7],[3,'gather']],[3,'address']])
Z([[7],[3,'mode']])
Z([[7],[3,'sidebarReady']])
Z([[7],[3,'isLoginModalShown']])
Z([3,'verifySuccess'])
Z([[7],[3,'authMobileShow']])
})(__WXML_GLOBAL__.ops_cached.$gwx_52);return __WXML_GLOBAL__.ops_cached.$gwx_52
}
function gz$gwx_53(){
if( __WXML_GLOBAL__.ops_cached.$gwx_53)return __WXML_GLOBAL__.ops_cached.$gwx_53
__WXML_GLOBAL__.ops_cached.$gwx_53=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'order-content'])
Z([[2,'?:'],[[7],[3,'isDetail']],[1,'viewProduct'],[1,'viewProductDetail']])
Z(z[0])
Z([[7],[3,'catid']])
Z([[7],[3,'cid']])
Z([[7],[3,'id']])
Z([[7],[3,'index']])
Z([[7],[3,'name']])
Z([[7],[3,'navid']])
Z([[7],[3,'sid']])
Z([3,'order-content-cell'])
Z([[2,'&&'],[[2,'&&'],[[2,'!='],[[7],[3,'ismember']],[1,0]],[[2,'!'],[[7],[3,'grouponid']]]],[[2,'!'],[[7],[3,'bargainid']]]])
Z([[2,'!='],[[7],[3,'ismember']],[1,0]])
})(__WXML_GLOBAL__.ops_cached.$gwx_53);return __WXML_GLOBAL__.ops_cached.$gwx_53
}
function gz$gwx_54(){
if( __WXML_GLOBAL__.ops_cached.$gwx_54)return __WXML_GLOBAL__.ops_cached.$gwx_54
__WXML_GLOBAL__.ops_cached.$gwx_54=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'order-detail'])
Z([3,'order-list--item'])
Z([3,'order-item--bd'])
Z([3,'idx'])
Z([3,'product'])
Z([[7],[3,'items']])
Z([3,'cid'])
Z([[9],[[9],[[9],[[9],[[9],[[9],[[9],[[9],[[9],[[9],[[9],[[9],[[9],[[10],[[7],[3,'product']]],[[8],'sid',[[7],[3,'sid']]]],[[8],'id',[[7],[3,'id']]]],[[8],'grouponid',[[7],[3,'grouponid']]]],[[8],'bargainid',[[7],[3,'bargainid']]]],[[8],'index',[[7],[3,'index']]]],[[8],'idx',[[7],[3,'idx']]]],[[8],'origin',[[7],[3,'origin']]]],[[8],'name',[[7],[3,'name']]]],[[8],'refundstatus',[[7],[3,'refundstatus']]]],[[8],'status',[[7],[3,'status']]]],[[8],'orderStatusMap',[[7],[3,'orderStatusMap']]]],[[8],'refundStatusMap',[[7],[3,'refundStatusMap']]]],[[8],'isdistribute',[[7],[3,'isdistribute']]]])
Z([3,'order-content'])
Z([[2,'!='],[[7],[3,'refundstatus']],[[6],[[7],[3,'refundStatusMap']],[3,'none']]])
Z([[9],[[9],[[9],[[8],'refundstatus',[[7],[3,'refundstatus']]],[[8],'refundStatusMap',[[7],[3,'refundStatusMap']]]],[[8],'isOrderDone',[[7],[3,'isOrderDone']]]],[[8],'isProfile',[[2,'=='],[[7],[3,'origin']],[1,'profile']]]])
Z([3,'refund-progress'])
Z([[9],[[9],[[9],[[9],[[9],[[9],[[9],[[9],[[9],[[9],[[9],[[9],[[9],[[9],[[8],'grouponid',[[7],[3,'grouponid']]],[[8],'bargainid',[[7],[3,'bargainid']]]],[[8],'grouponstatus',[[7],[3,'grouponstatus']]]],[[8],'groupontype',[[7],[3,'ismerchant']]]],[[8],'launchstatus',[[7],[3,'launchstatus']]]],[[8],'status',[[7],[3,'status']]]],[[8],'isWithinFortnight',[[7],[3,'isWithinFortnight']]]],[[8],'orderStatusMap',[[7],[3,'orderStatusMap']]]],[[8],'refundstatus',[[7],[3,'refundstatus']]]],[[8],'refundStatusMap',[[7],[3,'refundStatusMap']]]],[[8],'sid',[[7],[3,'sid']]]],[[8],'id',[[7],[3,'id']]]],[[8],'index',[[7],[3,'index']]]],[[8],'origin',[[7],[3,'origin']]]],[[8],'mode',[1,'list']]])
Z([3,'order-actions'])
Z(z[11])
})(__WXML_GLOBAL__.ops_cached.$gwx_54);return __WXML_GLOBAL__.ops_cached.$gwx_54
}
function gz$gwx_55(){
if( __WXML_GLOBAL__.ops_cached.$gwx_55)return __WXML_GLOBAL__.ops_cached.$gwx_55
__WXML_GLOBAL__.ops_cached.$gwx_55=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[7],[3,'isLoginModalShown']])
Z([[7],[3,'isViewListInited']])
Z([3,'listcell clearfix'])
Z([[7],[3,'viewlist']])
Z([[6],[[7],[3,'item']],[3,'sid']])
Z([[2,'<'],[[7],[3,'index']],[1,7]])
Z([3,'viewSite'])
Z([3,'listcell-item'])
Z(z[4])
Z([3,'view-hover'])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'istop']],[1,1]])
Z([[2,'>='],[[6],[[7],[3,'viewlist']],[3,'length']],[1,8]])
Z([[6],[[7],[3,'focuslist']],[3,'length']])
Z(z[2])
Z([[7],[3,'focuslist']])
Z(z[4])
Z(z[5])
Z([[2,'>='],[[6],[[7],[3,'focuslist']],[3,'length']],[1,8]])
Z([1,true])
Z([3,'已到底，可别再拉咯'])
})(__WXML_GLOBAL__.ops_cached.$gwx_55);return __WXML_GLOBAL__.ops_cached.$gwx_55
}
function gz$gwx_56(){
if( __WXML_GLOBAL__.ops_cached.$gwx_56)return __WXML_GLOBAL__.ops_cached.$gwx_56
__WXML_GLOBAL__.ops_cached.$gwx_56=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'idx'])
Z([3,'site'])
Z([[7],[3,'list']])
Z([3,'sid'])
Z([3,'viewSite'])
Z([3,'track-list__item'])
Z([[2,'?:'],[[2,'<'],[[6],[[7],[3,'site']],[3,'styleleft']],[1,0]],[1,true],[[7],[3,'fasle']]])
Z([[6],[[7],[3,'site']],[3,'sid']])
Z([3,'touchend'])
Z([3,'touchmove'])
Z([3,'touchstart'])
Z([3,'site-detail'])
Z([[7],[3,'idx']])
Z([a,[3,'left: '],[[6],[[7],[3,'site']],[3,'styleleft']],[3,'rpx']])
Z([[2,'=='],[[6],[[7],[3,'site']],[3,'istop']],[1,'1']])
Z([[7],[3,'noMore']])
Z([3,'已到底，木有更多咯'])
})(__WXML_GLOBAL__.ops_cached.$gwx_56);return __WXML_GLOBAL__.ops_cached.$gwx_56
}
function gz$gwx_57(){
if( __WXML_GLOBAL__.ops_cached.$gwx_57)return __WXML_GLOBAL__.ops_cached.$gwx_57
__WXML_GLOBAL__.ops_cached.$gwx_57=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[7],[3,'searchList']])
Z([[6],[[7],[3,'searchList']],[3,'length']])
Z([[2,'&&'],[[2,'!'],[[6],[[7],[3,'searchList']],[3,'length']]],[[7],[3,'hasSearched']]])
})(__WXML_GLOBAL__.ops_cached.$gwx_57);return __WXML_GLOBAL__.ops_cached.$gwx_57
}
function gz$gwx_58(){
if( __WXML_GLOBAL__.ops_cached.$gwx_58)return __WXML_GLOBAL__.ops_cached.$gwx_58
__WXML_GLOBAL__.ops_cached.$gwx_58=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[6],[[6],[[7],[3,'sidebar']],[3,'site']],[3,'expiretime']])
Z([[7],[3,'isExpireModalShown']])
Z([[6],[[6],[[7],[3,'sidebar']],[3,'site']],[3,'name']])
Z([[6],[[6],[[7],[3,'sidebar']],[3,'site']],[3,'sid']])
Z([[7],[3,'app']])
Z([[7],[3,'isLoginModalShown']])
Z([[7],[3,'isExist']])
Z([a,[3,'main-container '],[[7],[3,'mode']],[3,' '],[[2,'?:'],[[2,'&&'],[[2,'=='],[[7],[3,'mode']],[1,'view']],[[6],[[6],[[7],[3,'sidebar']],[3,'site']],[3,'ispromote']]],[1,'ispromote'],[1,'']]])
Z(z[7][2])
Z([[7],[3,'sidebarReady']])
Z([3,'updateIndexFocus'])
Z(z[7][2])
Z([[7],[3,'sidebar']])
Z([[7],[3,'isLoading']])
Z([a,[3,'container__bd mb-10 '],[[2,'?:'],[[2,'!'],[[6],[[6],[[7],[3,'site']],[3,'content']],[3,'length']]],[1,'container__bd--empty'],[1,'']]])
Z([[2,'=='],[[7],[3,'mode']],[1,'edit']])
Z([[9],[[10],[[7],[3,'$$editor']]],[[8],'sid',[[6],[[7],[3,'site']],[3,'sid']]]])
Z([3,'editor'])
Z([[2,'=='],[[7],[3,'mode']],[1,'view']])
Z([[9],[[9],[[10],[[7],[3,'site']]],[[8],'presetPosition',[1,'site.content']]],[[8],'videoSource',[[7],[3,'videoSource']]]])
Z([3,'editor_content_view'])
Z([[2,'&&'],[[2,'&&'],[[2,'!'],[[7],[3,'isLoading']]],[[2,'=='],[[7],[3,'mode']],[1,'view']]],[[2,'=='],[[6],[[6],[[7],[3,'site']],[3,'content']],[3,'length']],[1,0]]])
Z([3,'该栏目下还没有内容哦...'])
Z([[6],[[6],[[7],[3,'sidebar']],[3,'site']],[3,'agentapp']])
Z([[6],[[6],[[7],[3,'sidebar']],[3,'site']],[3,'agentid']])
Z([[7],[3,'isInitTabList']])
Z([[2,'&&'],[[2,'&&'],[[2,'=='],[[7],[3,'mode']],[1,'view']],[[2,'=='],[[7],[3,'app']],[1,'site']]],[[2,'!'],[[6],[[6],[[7],[3,'sidebar']],[3,'site']],[3,'ispromote']]]])
Z([[2,'&&'],[[7],[3,'isInitTabList']],[[2,'||'],[[2,'=='],[[7],[3,'app']],[1,'thirdparty']],[[6],[[7],[3,'site']],[3,'isedit']]]])
Z([[2,'&&'],[[2,'&&'],[[2,'!'],[[6],[[7],[3,'site']],[3,'isedit']]],[[2,'!'],[[7],[3,'isInitTabList']]]],[[2,'=='],[[7],[3,'app']],[1,'site']]])
Z([[6],[[7],[3,'sidebar']],[3,'status']])
Z([[7],[3,'sharePluginData']])
Z([[7],[3,'isSharePluginShow']])
Z(z[7][2])
Z(z[4])
Z([3,'editContent'])
Z(z[0])
Z([[6],[[7],[3,'site']],[3,'isedit']])
Z([1,false])
Z(z[25])
Z(z[7][2])
Z(z[3])
Z([[7],[3,'shoppingcartInitData']])
Z([[2,'&&'],[[2,'=='],[[7],[3,'mode']],[1,'view']],[[2,'!='],[[6],[[6],[[7],[3,'sidebar']],[3,'site']],[3,'version']],[1,0]]])
Z([[6],[[7],[3,'sidebar']],[3,'site']])
Z([[9],[[9],[[8],'isEditable',[[6],[[7],[3,'site']],[3,'isedit']]],[[8],'app',[[7],[3,'app']]]],[[8],'isInitTabList',[[7],[3,'isInitTabList']]]])
Z([[2,'==='],[[7],[3,'mode']],[1,'edit']])
Z(z[7][2])
Z(z[4])
})(__WXML_GLOBAL__.ops_cached.$gwx_58);return __WXML_GLOBAL__.ops_cached.$gwx_58
}
function gz$gwx_59(){
if( __WXML_GLOBAL__.ops_cached.$gwx_59)return __WXML_GLOBAL__.ops_cached.$gwx_59
__WXML_GLOBAL__.ops_cached.$gwx_59=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
})(__WXML_GLOBAL__.ops_cached.$gwx_59);return __WXML_GLOBAL__.ops_cached.$gwx_59
}
function gz$gwx_60(){
if( __WXML_GLOBAL__.ops_cached.$gwx_60)return __WXML_GLOBAL__.ops_cached.$gwx_60
__WXML_GLOBAL__.ops_cached.$gwx_60=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'user'])
Z([[2,'||'],[[2,'=='],[[7],[3,'type']],[[6],[[7],[3,'TYPES']],[3,'NORMAL']]],[[2,'=='],[[7],[3,'type']],[[6],[[7],[3,'TYPES']],[3,'NORMAL_VERIFY']]]])
Z([[9],[[9],[[9],[[9],[[8],'label',[1,'姓名']],[[8],'name',[1,'realname']]],[[8],'placeholder',[1,'请输入姓名']]],[[8],'form',[[7],[3,'form']]]],[[8],'required',[1,true]]])
Z([3,'form-input-item'])
Z([[9],[[9],[[9],[[9],[[9],[[8],'form',[[7],[3,'form']]],[[8],'isVerifyCode',[[7],[3,'isVerifyCode']]]],[[8],'isShownSendBtn',[[7],[3,'isShownSendBtn']]]],[[8],'enabled',[[2,'!='],[[7],[3,'type']],[[6],[[7],[3,'TYPES']],[3,'NORMAL']]]]],[[8],'enabledLabel',[1,true]]],[[8],'appName',[[7],[3,'appName']]]])
Z([3,'mobile'])
Z([3,'nc-avatar-cells'])
Z([[9],[[9],[[9],[[8],'name',[1,'realname']],[[8],'placeholder',[1,'请输入姓名']]],[[8],'form',[[7],[3,'form']]]],[[8],'required',[1,true]]])
Z(z[3])
Z([[9],[[9],[[9],[[9],[[9],[[9],[[8],'form',[[7],[3,'form']]],[[8],'isVerifyCode',[[7],[3,'isVerifyCode']]]],[[8],'isShownSendBtn',[[7],[3,'isShownSendBtn']]]],[[8],'focusName',[[7],[3,'focusName']]]],[[8],'enabled',[[2,'!='],[[7],[3,'type']],[[6],[[7],[3,'TYPES']],[3,'NORMAL_AVATAR']]]]],[[8],'enabledLabel',[1,false]]],[[8],'appName',[[7],[3,'appName']]]])
Z(z[5])
Z(z[5])
Z([[7],[3,'appName']])
Z([3,'onMobileClear'])
Z([3,'onMobileFail'])
Z([3,'onMobileInput'])
Z([3,'mobile-verify'])
Z([[7],[3,'enabledLabel']])
Z([[7],[3,'enabled']])
Z(z[5])
Z([[7],[3,'isShownSendBtn']])
Z([[7],[3,'isVerifyCode']])
Z([[6],[[7],[3,'form']],[3,'mobile']])
Z([3,'remark'])
Z([3,'fieldArr'])
Z([[7],[3,'fields']])
Z([3,'field'])
Z([[7],[3,'fieldArr']])
Z([3,'a'])
Z([[2,'==='],[[7],[3,'item']],[1,'user']])
Z([[9],[[9],[[9],[[9],[[9],[[8],'type',[[7],[3,'type']]],[[8],'TYPES',[[7],[3,'TYPES']]]],[[8],'form',[[7],[3,'form']]]],[[8],'appName',[[7],[3,'appName']]]],[[8],'isShownSendBtn',[[7],[3,'isShownSendBtn']]]],[[8],'isVerifyCode',[[7],[3,'isVerifyCode']]]])
Z(z[0])
Z([[2,'==='],[[7],[3,'item']],[1,'corpname']])
Z([[9],[[9],[[9],[[9],[[8],'label',[1,'公司']],[[8],'name',[1,'corpname']]],[[8],'placeholder',[1,'请输入公司名称']]],[[8],'form',[[7],[3,'form']]]],[[8],'required',[1,true]]])
Z(z[3])
Z([[2,'==='],[[7],[3,'item']],[1,'position']])
Z([[9],[[9],[[9],[[9],[[8],'label',[1,'职务']],[[8],'name',[1,'position']]],[[8],'placeholder',[1,'请输入职务']]],[[8],'form',[[7],[3,'form']]]],[[8],'required',[1,true]]])
Z(z[3])
Z([[2,'==='],[[7],[3,'item']],[1,'email']])
Z([[9],[[9],[[9],[[8],'label',[1,'Email']],[[8],'name',[1,'email']]],[[8],'placeholder',[1,'12345@qq.com']]],[[8],'form',[[7],[3,'form']]]])
Z(z[3])
Z([[2,'==='],[[7],[3,'item']],[1,'wechat']])
Z([[9],[[9],[[9],[[8],'label',[1,'微信号']],[[8],'name',[1,'wechat']]],[[8],'placeholder',[1,'请输入微信号']]],[[8],'form',[[7],[3,'form']]]])
Z(z[3])
Z([[2,'==='],[[7],[3,'item']],[1,'remark']])
Z([[9],[[9],[[9],[[8],'remarkHint',[[7],[3,'remarkHint']]],[[8],'form',[[7],[3,'form']]]],[[8],'textareaFocus',[[7],[3,'textareaFocus']]]],[[8],'textareaShown',[[7],[3,'textareaShown']]]])
Z(z[23])
Z([3,'onSelect'])
Z([3,'onSearchOrient'])
Z([[7],[3,'searchOrient']])
Z([[6],[[7],[3,'searchList']],[3,'corpname']])
Z([3,'corpname'])
Z([[6],[[7],[3,'form']],[3,'corpname']])
Z(z[47])
Z(z[48])
Z(z[49])
Z([[6],[[7],[3,'searchList']],[3,'position']])
Z([3,'position'])
Z([[6],[[7],[3,'form']],[3,'position']])
Z(z[47])
Z(z[48])
Z(z[49])
Z([[6],[[7],[3,'searchList']],[3,'email']])
Z([3,'email'])
Z([[6],[[7],[3,'form']],[3,'email']])
Z(z[3])
Z([3,'weui-cell weui-cell_input'])
Z([[7],[3,'label']])
Z([3,'onInput'])
Z([[2,'?:'],[[7],[3,'cursorSpacing']],[[7],[3,'cursorSpacing']],[1,0]])
Z([[7],[3,'name']])
Z([[2,'?:'],[[7],[3,'maxlength']],[[7],[3,'maxlength']],[[2,'-'],[1,1]]])
Z(z[70])
Z([[7],[3,'placeholder']])
Z([[7],[3,'type']])
Z([[6],[[7],[3,'form']],[[7],[3,'name']]])
})(__WXML_GLOBAL__.ops_cached.$gwx_60);return __WXML_GLOBAL__.ops_cached.$gwx_60
}
function gz$gwx_61(){
if( __WXML_GLOBAL__.ops_cached.$gwx_61)return __WXML_GLOBAL__.ops_cached.$gwx_61
__WXML_GLOBAL__.ops_cached.$gwx_61=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[7],[3,'toptip']])
Z([3,'submit'])
Z([3,'true'])
Z([3,'onFail'])
Z([3,'onInput'])
Z([[7],[3,'form']])
Z([3,'createForm'])
Z([[7],[3,'remarkHint']])
Z([3,'1'])
})(__WXML_GLOBAL__.ops_cached.$gwx_61);return __WXML_GLOBAL__.ops_cached.$gwx_61
}
function gz$gwx_62(){
if( __WXML_GLOBAL__.ops_cached.$gwx_62)return __WXML_GLOBAL__.ops_cached.$gwx_62
__WXML_GLOBAL__.ops_cached.$gwx_62=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'onError'])
Z([3,'scan_camera'])
Z([3,'back'])
Z([3,'off'])
Z([3,'scan-bd'])
Z([[7],[3,'file']])
Z([[7],[3,'loading']])
Z([[2,'!'],[[7],[3,'loading']]])
})(__WXML_GLOBAL__.ops_cached.$gwx_62);return __WXML_GLOBAL__.ops_cached.$gwx_62
}
function gz$gwx_63(){
if( __WXML_GLOBAL__.ops_cached.$gwx_63)return __WXML_GLOBAL__.ops_cached.$gwx_63
__WXML_GLOBAL__.ops_cached.$gwx_63=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'dialog'])
Z([[7],[3,'visible']])
})(__WXML_GLOBAL__.ops_cached.$gwx_63);return __WXML_GLOBAL__.ops_cached.$gwx_63
}
function gz$gwx_64(){
if( __WXML_GLOBAL__.ops_cached.$gwx_64)return __WXML_GLOBAL__.ops_cached.$gwx_64
__WXML_GLOBAL__.ops_cached.$gwx_64=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'image-upload'])
})(__WXML_GLOBAL__.ops_cached.$gwx_64);return __WXML_GLOBAL__.ops_cached.$gwx_64
}
function gz$gwx_65(){
if( __WXML_GLOBAL__.ops_cached.$gwx_65)return __WXML_GLOBAL__.ops_cached.$gwx_65
__WXML_GLOBAL__.ops_cached.$gwx_65=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
})(__WXML_GLOBAL__.ops_cached.$gwx_65);return __WXML_GLOBAL__.ops_cached.$gwx_65
}
function gz$gwx_66(){
if( __WXML_GLOBAL__.ops_cached.$gwx_66)return __WXML_GLOBAL__.ops_cached.$gwx_66
__WXML_GLOBAL__.ops_cached.$gwx_66=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'input-clear-btn'])
Z([[6],[[7],[3,'value']],[[7],[3,'name']]])
})(__WXML_GLOBAL__.ops_cached.$gwx_66);return __WXML_GLOBAL__.ops_cached.$gwx_66
}
function gz$gwx_67(){
if( __WXML_GLOBAL__.ops_cached.$gwx_67)return __WXML_GLOBAL__.ops_cached.$gwx_67
__WXML_GLOBAL__.ops_cached.$gwx_67=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'mobile-validator'])
Z([[6],[[7],[3,'$$mv']],[3,'toptip']])
})(__WXML_GLOBAL__.ops_cached.$gwx_67);return __WXML_GLOBAL__.ops_cached.$gwx_67
}
function gz$gwx_68(){
if( __WXML_GLOBAL__.ops_cached.$gwx_68)return __WXML_GLOBAL__.ops_cached.$gwx_68
__WXML_GLOBAL__.ops_cached.$gwx_68=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'weui-cell weui-cell_input nc-phone-number-cell'])
Z([[7],[3,'enabledLabel']])
Z([3,'onInput'])
Z([[2,'?:'],[[2,'||'],[[7],[3,'enabledMobileGet']],[[2,'=='],[[7],[3,'mobileVerifyState']],[[6],[[7],[3,'mobileVerifyStatus']],[3,'VERIFY_SUCCESS']]]],[1,'hidden'],[1,'']])
Z([3,'11'])
Z([3,'mobile'])
Z([3,'请输入常用的手机号'])
Z([3,'number'])
Z([[6],[[7],[3,'form']],[3,'mobile']])
Z([[7],[3,'isShownSendBtn']])
Z([3,'weui-cell__ft'])
Z([[7],[3,'enabledMobileGet']])
Z([[7],[3,'customButton']])
Z([3,'button'])
Z([[2,'&&'],[[7],[3,'isVerifyCode']],[[7],[3,'showVcodeInput']]])
Z(z[2])
Z([[7],[3,'codeLen']])
Z([3,'code'])
Z([3,'请输入短信或语音验证码'])
Z(z[7])
Z([[6],[[7],[3,'form']],[3,'code']])
})(__WXML_GLOBAL__.ops_cached.$gwx_68);return __WXML_GLOBAL__.ops_cached.$gwx_68
}
function gz$gwx_69(){
if( __WXML_GLOBAL__.ops_cached.$gwx_69)return __WXML_GLOBAL__.ops_cached.$gwx_69
__WXML_GLOBAL__.ops_cached.$gwx_69=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'modalview'])
Z([[7],[3,'showModalStatus']])
Z([3,'modalview-content'])
Z([[6],[[7],[3,'modalData']],[3,'title']])
Z([3,'modalview-td'])
Z(z[3])
Z([[6],[[7],[3,'modalData']],[3,'subtitle']])
Z([[6],[[6],[[7],[3,'modalData']],[3,'contents']],[3,'length']])
Z([[6],[[7],[3,'modalData']],[3,'contents']])
Z([3,'*this'])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'text']])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'image']])
Z([[2,'=='],[[6],[[7],[3,'item']],[3,'type']],[1,'icon']])
})(__WXML_GLOBAL__.ops_cached.$gwx_69);return __WXML_GLOBAL__.ops_cached.$gwx_69
}
function gz$gwx_70(){
if( __WXML_GLOBAL__.ops_cached.$gwx_70)return __WXML_GLOBAL__.ops_cached.$gwx_70
__WXML_GLOBAL__.ops_cached.$gwx_70=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'pages'])
Z([[2,'>'],[[7],[3,'sum']],[1,1]])
})(__WXML_GLOBAL__.ops_cached.$gwx_70);return __WXML_GLOBAL__.ops_cached.$gwx_70
}
function gz$gwx_71(){
if( __WXML_GLOBAL__.ops_cached.$gwx_71)return __WXML_GLOBAL__.ops_cached.$gwx_71
__WXML_GLOBAL__.ops_cached.$gwx_71=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'prompt'])
Z([[7],[3,'shown']])
})(__WXML_GLOBAL__.ops_cached.$gwx_71);return __WXML_GLOBAL__.ops_cached.$gwx_71
}
function gz$gwx_72(){
if( __WXML_GLOBAL__.ops_cached.$gwx_72)return __WXML_GLOBAL__.ops_cached.$gwx_72
__WXML_GLOBAL__.ops_cached.$gwx_72=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'onConfirm'])
Z([3,'container'])
Z([3,'true'])
Z([[7],[3,'title']])
Z([[7],[3,'appName']])
Z([3,'onClear'])
Z([3,'onInput'])
Z([[7],[3,'form']])
Z([[7],[3,'fields']])
Z([3,'create-form'])
Z([3,'top'])
Z([3,'2'])
Z([[7],[3,'validFilds']])
})(__WXML_GLOBAL__.ops_cached.$gwx_72);return __WXML_GLOBAL__.ops_cached.$gwx_72
}
function gz$gwx_73(){
if( __WXML_GLOBAL__.ops_cached.$gwx_73)return __WXML_GLOBAL__.ops_cached.$gwx_73
__WXML_GLOBAL__.ops_cached.$gwx_73=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[6],[[7],[3,'chatLists']],[3,'length']])
Z([3,'collectFormId'])
Z([[7],[3,'chatLists']])
Z([[6],[[7],[3,'item']],[3,'uid']])
Z([3,'goChat'])
Z([3,'weui-cell nc-li'])
Z([[6],[[7],[3,'item']],[3,'chatid']])
Z([[6],[[7],[3,'item']],[3,'realname']])
Z(z[3])
Z([[6],[[7],[3,'item']],[3,'unreads']])
Z([3,'submit'])
Z([3,'weui-cell_active'])
Z([a,[3,'chatid'],z[6]])
Z([[2,'>'],[[6],[[7],[3,'item']],[3,'unreads']],[1,0]])
Z([[2,'&&'],[[2,'!'],[[7],[3,'noMore']]],[[7],[3,'loadingMore']]])
Z([[2,'&&'],[[7],[3,'switchPostion']],[[7],[3,'count']]])
})(__WXML_GLOBAL__.ops_cached.$gwx_73);return __WXML_GLOBAL__.ops_cached.$gwx_73
}
function gz$gwx_74(){
if( __WXML_GLOBAL__.ops_cached.$gwx_74)return __WXML_GLOBAL__.ops_cached.$gwx_74
__WXML_GLOBAL__.ops_cached.$gwx_74=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'_onTap'])
Z([a,[3,'top-tip top-tip_'],[[2,'?:'],[[7],[3,'control']],[1,'show'],[1,'hide']]])
Z([[6],[[7],[3,'content']],[3,'logo']])
Z([[6],[[7],[3,'content']],[3,'value']])
Z([[6],[[7],[3,'content']],[3,'time']])
})(__WXML_GLOBAL__.ops_cached.$gwx_74);return __WXML_GLOBAL__.ops_cached.$gwx_74
}
function gz$gwx_75(){
if( __WXML_GLOBAL__.ops_cached.$gwx_75)return __WXML_GLOBAL__.ops_cached.$gwx_75
__WXML_GLOBAL__.ops_cached.$gwx_75=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[6],[[7],[3,'searchList']],[3,'length']])
Z([3,'search-content'])
Z([[2,'?:'],[[2,'==='],[[7],[3,'direction']],[1,'top']],[1,'bottom: 0;'],[1,'top: 0;']])
Z([[2,'==='],[[7],[3,'direction']],[1,'top']])
Z([[2,'==='],[[7],[3,'direction']],[1,'bottom']])
})(__WXML_GLOBAL__.ops_cached.$gwx_75);return __WXML_GLOBAL__.ops_cached.$gwx_75
}
function gz$gwx_76(){
if( __WXML_GLOBAL__.ops_cached.$gwx_76)return __WXML_GLOBAL__.ops_cached.$gwx_76
__WXML_GLOBAL__.ops_cached.$gwx_76=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
})(__WXML_GLOBAL__.ops_cached.$gwx_76);return __WXML_GLOBAL__.ops_cached.$gwx_76
}
function gz$gwx_77(){
if( __WXML_GLOBAL__.ops_cached.$gwx_77)return __WXML_GLOBAL__.ops_cached.$gwx_77
__WXML_GLOBAL__.ops_cached.$gwx_77=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
})(__WXML_GLOBAL__.ops_cached.$gwx_77);return __WXML_GLOBAL__.ops_cached.$gwx_77
}
function gz$gwx_78(){
if( __WXML_GLOBAL__.ops_cached.$gwx_78)return __WXML_GLOBAL__.ops_cached.$gwx_78
__WXML_GLOBAL__.ops_cached.$gwx_78=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'share-tip'])
Z([[7],[3,'shareTipShown']])
})(__WXML_GLOBAL__.ops_cached.$gwx_78);return __WXML_GLOBAL__.ops_cached.$gwx_78
}
function gz$gwx_79(){
if( __WXML_GLOBAL__.ops_cached.$gwx_79)return __WXML_GLOBAL__.ops_cached.$gwx_79
__WXML_GLOBAL__.ops_cached.$gwx_79=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[7],[3,'showCancel']])
})(__WXML_GLOBAL__.ops_cached.$gwx_79);return __WXML_GLOBAL__.ops_cached.$gwx_79
}
function gz$gwx_80(){
if( __WXML_GLOBAL__.ops_cached.$gwx_80)return __WXML_GLOBAL__.ops_cached.$gwx_80
__WXML_GLOBAL__.ops_cached.$gwx_80=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'tabbar'])
})(__WXML_GLOBAL__.ops_cached.$gwx_80);return __WXML_GLOBAL__.ops_cached.$gwx_80
}
function gz$gwx_81(){
if( __WXML_GLOBAL__.ops_cached.$gwx_81)return __WXML_GLOBAL__.ops_cached.$gwx_81
__WXML_GLOBAL__.ops_cached.$gwx_81=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([3,'__collectFormId'])
Z([[7],[3,'count']])
Z([3,'chat'])
})(__WXML_GLOBAL__.ops_cached.$gwx_81);return __WXML_GLOBAL__.ops_cached.$gwx_81
}
function gz$gwx_82(){
if( __WXML_GLOBAL__.ops_cached.$gwx_82)return __WXML_GLOBAL__.ops_cached.$gwx_82
__WXML_GLOBAL__.ops_cached.$gwx_82=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
})(__WXML_GLOBAL__.ops_cached.$gwx_82);return __WXML_GLOBAL__.ops_cached.$gwx_82
}
function gz$gwx_83(){
if( __WXML_GLOBAL__.ops_cached.$gwx_83)return __WXML_GLOBAL__.ops_cached.$gwx_83
__WXML_GLOBAL__.ops_cached.$gwx_83=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[7],[3,'canUseCamera']])
Z([3,'onFail'])
Z([3,'onSuccess'])
Z([[7],[3,'file']])
Z([[7],[3,'loading']])
Z([[6],[[7],[3,'m1']],[3,'shotOptions']])
Z([3,'item.title'])
Z([[10],[[7],[3,'item']]])
Z([3,'shot-option'])
Z(z[8])
})(__WXML_GLOBAL__.ops_cached.$gwx_83);return __WXML_GLOBAL__.ops_cached.$gwx_83
}
function gz$gwx_84(){
if( __WXML_GLOBAL__.ops_cached.$gwx_84)return __WXML_GLOBAL__.ops_cached.$gwx_84
__WXML_GLOBAL__.ops_cached.$gwx_84=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
})(__WXML_GLOBAL__.ops_cached.$gwx_84);return __WXML_GLOBAL__.ops_cached.$gwx_84
}
function gz$gwx_85(){
if( __WXML_GLOBAL__.ops_cached.$gwx_85)return __WXML_GLOBAL__.ops_cached.$gwx_85
__WXML_GLOBAL__.ops_cached.$gwx_85=[];
(function(z){var a=11;function Z(ops){z.push(ops)}
Z([[7],[3,'toptip']])
Z([3,'weui-msg__opr-area'])
Z([[7],[3,'quickLoginMode']])
Z([[8],'$$mv',[[7],[3,'$$mv']]])
Z([3,'mobile-validator'])
Z(z[2])
})(__WXML_GLOBAL__.ops_cached.$gwx_85);return __WXML_GLOBAL__.ops_cached.$gwx_85
}
__WXML_GLOBAL__.ops_set.$gwx=z;
__WXML_GLOBAL__.ops_init.$gwx=true;
var nv_require=function(){var nnm={"m_./components/authorize-mobile/authorize-mobile.wxml:m":np_0,"m_./components/editor-content-view/editor-content-view.wxml:util":np_1,"m_./components/editor/section-activity/editor-activity/editor-activity.wxml:activity":np_2,"m_./components/editor/section-activity/item/item.wxml:activity":np_3,"m_./components/editor/section-bargaining/template/bargaining.wxml:util":np_4,"m_./components/editor/section-groupon/template/groupon.wxml:util":np_6,"m_./components/editor/section-quicklink/section-quicklink.wxml:classManage":np_7,"m_./pages/profile-entry/members/members.wxml:f":np_8,"m_./public/components/radar-modules/chatlist/chatlist.wxml:tool":np_9,"m_./public/components/search-list/search-list.wxml:tool":np_10,"m_./public/pages/card-scanner/card-scanner.wxml:m1":np_11,"m_./public/pages/signin-page/signin-page.wxml:m":np_12,"p_./components/editor/section-form/date-time.wxs":np_5,"p_./utils/util.wxs":np_13,};var nom={};return function(n){return function(){if(!nnm[n]) return undefined;try{if(!nom[n])nom[n]=nnm[n]();return nom[n];}catch(e){e.message=e.message.replace(/nv_/g,'');var tmp = e.stack.substring(0,e.stack.lastIndexOf(n));e.stack = tmp.substring(0,tmp.lastIndexOf('\n'));e.stack = e.stack.replace(/\snv_/g,' ');e.stack = $gstack(e.stack);e.stack += '\n    at ' + n.substring(2);console.error(e);}
}}}()
f_['./components/authorize-mobile/authorize-mobile.wxml']={};
f_['./components/authorize-mobile/authorize-mobile.wxml']['m'] =nv_require("m_./components/authorize-mobile/authorize-mobile.wxml:m");
function np_0(){var nv_module={nv_exports:{}};nv_module.nv_exports = ({nv_format:(function (nv_countDown){return(nv_countDown.nv_toFixed() + 's')}),});return nv_module.nv_exports;}

f_['./components/editor-content-view/editor-content-view.wxml']={};
f_['./components/editor-content-view/editor-content-view.wxml']['util'] =nv_require("m_./components/editor-content-view/editor-content-view.wxml:util");
function np_1(){var nv_module={nv_exports:{}};var nv_map = [({nv_id:1,nv_value:22,}),({nv_id:2,nv_value:24,}),({nv_id:3,nv_value:26,}),({nv_id:4,nv_value:26,}),({nv_id:5,nv_value:28,})];nv_module.nv_exports = ({nv_getFontSize:(function (nv_id){if (!nv_id){return('22rpx')};var nv_value = '22rpx';for(var nv_i = 0;nv_i < nv_map.nv_length;nv_i++){if (nv_map[((nt_0=(nv_i),null==nt_0?undefined:'number'=== typeof nt_0?nt_0:"nv_"+nt_0))].nv_id == nv_id){nv_value = nv_map[((nt_1=(nv_i),null==nt_1?undefined:'number'=== typeof nt_1?nt_1:"nv_"+nt_1))].nv_value + 'rpx'}};return(nv_value)}),});return nv_module.nv_exports;}

f_['./components/editor/section-activity/editor-activity/editor-activity.wxml']={};
f_['./components/editor/section-activity/editor-activity/editor-activity.wxml']['activity'] =nv_require("m_./components/editor/section-activity/editor-activity/editor-activity.wxml:activity");
function np_2(){var nv_module={nv_exports:{}};nv_module.nv_exports = ({nv_format:(function (nv_time){var nv_length = nv_time.nv_length;return(nv_time.nv_substring(0,nv_length - 3))}),nv_checkStatus:(function (nv_start,nv_end){var nv_now = nv_getDate();var nv_s = nv_start.nv_split(' ');nv_s[(0)] = nv_s[(0)].nv_split('-');nv_s[(1)] = nv_s[(1)].nv_split(':');var nv_e = nv_end.nv_split(' ');nv_e[(0)] = nv_e[(0)].nv_split('-');nv_e[(1)] = nv_e[(1)].nv_split(':');var nv__start = nv_getDate(nv_s[(0)][(0)],nv_s[(0)][(1)] - 1,nv_s[(0)][(2)],nv_s[(1)][(0)],nv_s[(1)][(1)]);var nv__end = nv_getDate(nv_e[(0)][(0)],nv_e[(0)][(1)] - 1,nv_e[(0)][(2)],nv_e[(1)][(0)],nv_e[(1)][(1)]);if (nv__start - nv_now > 0){return(1)} else if (nv_now - nv__end > 0){return(3)} else {return(2)}}),});return nv_module.nv_exports;}

f_['./components/editor/section-activity/item/item.wxml']={};
f_['./components/editor/section-activity/item/item.wxml']['activity'] =nv_require("m_./components/editor/section-activity/item/item.wxml:activity");
function np_3(){var nv_module={nv_exports:{}};nv_module.nv_exports = ({nv_format:(function (nv_time){var nv_length = nv_time.nv_length;return(nv_time.nv_substring(0,nv_length - 3))}),});return nv_module.nv_exports;}

f_['./components/editor/section-bargaining/template/bargaining.wxml']={};
f_['./components/editor/section-bargaining/template/bargaining.wxml']['util'] =nv_require("m_./components/editor/section-bargaining/template/bargaining.wxml:util");
function np_4(){var nv_module={nv_exports:{}};nv_module.nv_exports = ({nv_formateNumber:(function (nv_fee){return(Number)(nv_fee / 100).nv_toFixed(2)}),});return nv_module.nv_exports;}

f_['./components/editor/section-form/date-time.wxs'] = nv_require("p_./components/editor/section-form/date-time.wxs");
function np_5(){var nv_module={nv_exports:{}};var nv_datetime__range = null;nv_module.nv_exports = ({nv_getRange:(function (){if (nv_datetime__range)return(nv_datetime__range);;var nv_currentMilli = nv_getDate().nv_valueOf();var nv_DAY = 24 * 3600 * 1000;var nv_backward = 100;var nv_forward = 500;var nv_datelist = [];var nv_hourlist = [];for(var nv_i = 0;nv_i < nv_backward;nv_i++){var nv_milli = nv_currentMilli - nv_DAY * nv_i;var nv_datestr = nv_getDate(nv_milli).nv_toISOString();nv_datelist.nv_unshift(nv_datestr.nv_slice(0,nv_datestr.nv_indexOf('T')))};for(var nv_j = 1;nv_j < nv_forward;nv_j++){var nv_milli = nv_currentMilli + nv_DAY * nv_j;var nv_datestr = nv_getDate(nv_milli).nv_toISOString();nv_datelist.nv_push(nv_datestr.nv_slice(0,nv_datestr.nv_indexOf('T')))};for(var nv_k = 0;nv_k < 24;nv_k++){var nv_s = '' + nv_k;if (nv_s.nv_length == 1){nv_s = '0' + nv_s};nv_hourlist.nv_push(nv_s)};nv_datetime__range = [nv_datelist,nv_hourlist,['00','30']];return(nv_datetime__range)}),nv_getRangeValue:(function (){return([100 - 1,12,0])}),});return nv_module.nv_exports;}

f_['./components/editor/section-form/section-form.wxml']={};
f_['./components/editor/section-form/section-form.wxml']['datetime'] =f_['./components/editor/section-form/date-time.wxs'] || nv_require("p_./components/editor/section-form/date-time.wxs");
f_['./components/editor/section-form/section-form.wxml']['datetime']();

f_['./components/editor/section-groupon/template/groupon.wxml']={};
f_['./components/editor/section-groupon/template/groupon.wxml']['util'] =nv_require("m_./components/editor/section-groupon/template/groupon.wxml:util");
function np_6(){var nv_module={nv_exports:{}};nv_module.nv_exports = ({nv_formateNumber:(function (nv_fee){return(Number)(nv_fee / 100).nv_toFixed(2)}),nv_sliceStr:(function (nv_str){return(nv_str.nv_slice(5,16))}),});return nv_module.nv_exports;}

f_['./components/editor/section-quicklink/section-quicklink.wxml']={};
f_['./components/editor/section-quicklink/section-quicklink.wxml']['classManage'] =nv_require("m_./components/editor/section-quicklink/section-quicklink.wxml:classManage");
function np_7(){var nv_module={nv_exports:{}};nv_module.nv_exports = ({nv_getContentClass:(function (nv_list){switch(nv_list.nv_length){case 1:return('content_plr1');case 3:;case 6:return('content_plr3');case 4:;case 5:return('content_plr4');default:return('');}}),nv_getItemClass:(function (nv_list){switch(nv_list.nv_length){case 2:return('quicklink-content-item__2');case 3:;case 6:return('quicklink-content-item__3');case 4:;case 7:;case 8:return('quicklink-content-item__4');case 5:;case 9:;case 10:return('quicklink-content-item__5');default:return('');}}),});return nv_module.nv_exports;}

f_['./pages/index/index.wxml']={};
f_['./pages/index/index.wxml']['u'] =f_['./utils/util.wxs'] || nv_require("p_./utils/util.wxs");
f_['./pages/index/index.wxml']['u']();

f_['./pages/profile-entry/members/members.wxml']={};
f_['./pages/profile-entry/members/members.wxml']['f'] =nv_require("m_./pages/profile-entry/members/members.wxml:f");
function np_8(){var nv_module={nv_exports:{}};nv_module.nv_exports = ({nv_formate:(function (nv_val){return(nv_val > 99 ? '99+':nv_val)}),});return nv_module.nv_exports;}

f_['./public/components/radar-modules/chatlist/chatlist.wxml']={};
f_['./public/components/radar-modules/chatlist/chatlist.wxml']['tool'] =nv_require("m_./public/components/radar-modules/chatlist/chatlist.wxml:tool");
function np_9(){var nv_module={nv_exports:{}};nv_module.nv_exports = ({nv_getModelName:(function (nv_item){var nv_modid = nv_JSON.nv_parse(nv_item.nv_content.nv_content).nv_modid;return(nv_modid == 2 ? '资讯':(nv_modid == 3 ? '商品':(nv_modid == 4 ? '服务':'产品')))}),nv_getAttr:(function (nv_item,nv_attr){return(nv_JSON.nv_parse(nv_item.nv_content.nv_content)[((nt_0=(nv_attr),null==nt_0?undefined:'number'=== typeof nt_0?nt_0:"nv_"+nt_0))])}),nv_getTalkContent:(function (nv_item){var nv_text = nv_item.nv_content.nv_content;var nv_content;if (nv_text.nv_indexOf('{\x22type\x22:') > -1){nv_content = '[收到一个文件]'} else {nv_content = nv_item.nv_content.nv_content};return(nv_content)}),});return nv_module.nv_exports;}

f_['./public/components/search-list/search-list.wxml']={};
f_['./public/components/search-list/search-list.wxml']['tool'] =nv_require("m_./public/components/search-list/search-list.wxml:tool");
function np_10(){var nv_module={nv_exports:{}};nv_module.nv_exports = ({nv_calc:(function (nv_searchList,nv_maxNum){return(Math.nv_min(nv_searchList.nv_length,nv_maxNum) * 44)}),});return nv_module.nv_exports;}

f_['./public/pages/card-scanner/card-scanner.wxml']={};
f_['./public/pages/card-scanner/card-scanner.wxml']['m1'] =nv_require("m_./public/pages/card-scanner/card-scanner.wxml:m1");
function np_11(){var nv_module={nv_exports:{}};nv_module.nv_exports.nv_shotOptions = [({nv_title:'拍照识别',nv_desc:'将收到的纸质名片存入名片夹',nv_type:'camera',nv_icon:'./images/icon-camera.png',nv_background:'./images/bg-camera.png',}),({nv_title:'从相册中选择',nv_desc:'将相册中的名片图片存入名片夹',nv_type:'album',nv_icon:'./images/icon-album.png',nv_background:'./images/bg-album.png',})];return nv_module.nv_exports;}

f_['./public/pages/signin-page/signin-page.wxml']={};
f_['./public/pages/signin-page/signin-page.wxml']['m'] =nv_require("m_./public/pages/signin-page/signin-page.wxml:m");
function np_12(){var nv_module={nv_exports:{}};nv_module.nv_exports = ({nv_format:(function (nv_countDown){return(nv_countDown.nv_toFixed() + 's')}),});return nv_module.nv_exports;}

f_['./utils/util.wxs'] = nv_require("p_./utils/util.wxs");
function np_13(){var nv_module={nv_exports:{}};nv_module.nv_exports = ({nv_formatNum:(function (nv_n){nv_n = nv_parseInt(nv_n) || 0;if (nv_n < 1000){return(nv_n)} else {nv_n = Math.nv_floor(nv_n / 100);var nv_m = nv_n % 10;return(Math.nv_floor(nv_n / 10) + (nv_m ? '.' + nv_m:'') + 'K')}}),'nv_default':({nv_avatar:'/images/default/avatar.png',nv_logo:'/images/default/logo.png',}),});return nv_module.nv_exports;}

var x=['./components/authorize-mobile/authorize-mobile.wxml','./components/back-site/back-site.wxml','./components/bottom-popup/bottom-popup.wxml','./components/card/card.wxml','./components/circle-switch/circle-switch.wxml','./components/collectform/collectform.wxml','./components/content-empty-tip/content-empty-tip.wxml','./components/copyright/copyright.wxml','./components/editor-content-view/editor-content-view.wxml','/components/editor/navigation/navigation.wxml','/components/editor/section-coupon/template/minicard/minicard.wxml','/components/editor/section-groupon/template/groupon.wxml','/components/editor/section-bargaining/template/bargaining.wxml','/components/editor/section-image/image-layout-template/image-layout-template.wxml','/components/editor/section-quicklink/section-quicklink.wxml','/components/editor/section-form/section-form.wxml','/components/editor/section-activity/editor-activity/editor-activity.wxml','./components/editor/components/actionSheet/actionSheet.wxml','./components/editor/editor.wxml','/components/card/card.wxml','/components/link/link.wxml','/components/editor/section-image/layout-picker/layout-picker.wxml','/components/editor/components/actionSheet/actionSheet.wxml','./components/editor/navigation/navigation.wxml','./components/editor/section-activity/editor-activity/editor-activity.wxml','./components/editor/section-activity/item/item.wxml','./components/editor/section-activity/wrapper/wrapper.wxml','./components/editor/section-bargaining/template/bargaining.wxml','./components/editor/section-coupon/template/card/card.wxml','./components/editor/section-coupon/template/minicard/minicard.wxml','./components/editor/section-form/section-form.wxml','./components/editor/section-groupon/template/groupon.wxml','./components/editor/section-image/image-layout-template/image-layout-template.wxml','./components/editor/section-image/layout-picker/layout-picker.wxml','./components/editor/section-quicklink/section-quicklink.wxml','./components/expire-modal/expire-modal.wxml','./components/fold/fold.wxml','./components/formid-collector/formid-collector.wxml','./components/input-block/input-block.wxml','./components/integral-list/integral-list.wxml','./components/link/link.wxml','./components/list-nomore-tip/list-nomore-tip.wxml','./components/loading-tip/loading-tip.wxml','./components/login-modal/login-modal.wxml','./components/logo-creator/logo-creator.wxml','./components/manage-set/manage-set.wxml','./components/navigation-bar/navigation-bar.wxml','./components/order-action/order-action.wxml','./components/order-navbar/order-navbar.wxml','./components/searchbar/searchbar.wxml','./components/share-set/share-set.wxml','./components/shoppingcart/shoppingcart.wxml','./components/site-basic-settings/site-basic-settings.wxml','./components/site-deleted-tip/site-deleted-tip.wxml','./components/tabbar/tabbar.wxml','./components/top-notice/top-notice.wxml','./components/version-info/version-info.wxml','./components/we-cropper/we-cropper.wxml','./we-cropper/we-cropper.wxml','./components/we-cropper/we-cropper/we-cropper.wxml','./components/withinmsg/withinmsg.wxml','./pages/index/index.wxml','./pages/index/template/template.wxml','./pages/profile-entry/index/index.wxml','./pages/profile-entry/members/members.wxml','./pages/template/order-content/order-content.wxml','./pages/template/order-detail/order-detail.wxml','/pages/template/order-content/order-content.wxml','/components/order-action/order-action.wxml','./pages/track/index/index.wxml','./pages/track/list/list.wxml','./pages/track/search/search.wxml','./pages/website/index/index.wxml','/components/editor/editor.wxml','/components/editor-content-view/editor-content-view.wxml','./public/components/canvas-image/canvas-image.wxml','./public/components/card-create-form/card-create-form.wxml','./public/components/card-scanner-form/card-scanner-form.wxml','./public/components/card-scanner/card-scanner.wxml','./public/components/dialog/dialog.wxml','./public/components/imageupload/imageupload.wxml','./public/components/input-blocker/input-blocker.wxml','./public/components/input-clear-btn/input-clear-btn.wxml','./public/components/mobile-validator/mobile-validator.wxml','./public/components/mobile-verify/mobile-verify.wxml','./public/components/modalview/modalview.wxml','./public/components/pages/pages.wxml','./public/components/prompt/prompt.wxml','./public/components/quick-create-card/quick-create-card.wxml','./public/components/radar-modules/chatlist/chatlist.wxml','./public/components/radarToptips/toptips.wxml','./public/components/search-list/search-list.wxml','./public/components/service/service.wxml','./public/components/set-response/set-response.wxml','./public/components/share-tip/share-tip.wxml','./public/components/signin-modal/signin-modal.wxml','./public/components/tabbar/tabbar.wxml','./public/components/withinmsg/withinmsg.wxml','./public/pages/auto-response/auto-response.wxml','./public/pages/card-scanner/card-scanner.wxml','./public/pages/signin-page/signin-page.wxml','./public/pages/verify/verify.wxml','../../components/mobile-validator/mobile-validator.wxml'];d_[x[0]]={}
var m0=function(e,s,r,gg){
var z=gz$gwx_1()
var oB=_v()
_(r,oB)
if(_oz(z,0,e,s,gg)){oB.wxVkey=1
}
oB.wxXCkey=1
return r
}
e_[x[0]]={f:m0,j:[],i:[],ti:[],ic:[]}
d_[x[1]]={}
var m1=function(e,s,r,gg){
var z=gz$gwx_2()
return r
}
e_[x[1]]={f:m1,j:[],i:[],ti:[],ic:[]}
d_[x[2]]={}
var m2=function(e,s,r,gg){
var z=gz$gwx_3()
var fE=_v()
_(r,fE)
if(_oz(z,0,e,s,gg)){fE.wxVkey=1
var cF=_n('slot')
_(fE,cF)
}
fE.wxXCkey=1
return r
}
e_[x[2]]={f:m2,j:[],i:[],ti:[],ic:[]}
d_[x[3]]={}
d_[x[3]]["editor-type-card"]=function(e,s,r,gg){
var z=gz$gwx_4()
var b=x[3]+':editor-type-card'
r.wxVkey=b
gg.f=$gdc(f_["./components/card/card.wxml"],"",1)
if(p_[b]){_wl(b,x[3]);return}
p_[b]=true
try{
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m3=function(e,s,r,gg){
var z=gz$gwx_4()
return r
}
e_[x[3]]={f:m3,j:[],i:[],ti:[],ic:[]}
d_[x[4]]={}
var m4=function(e,s,r,gg){
var z=gz$gwx_5()
return r
}
e_[x[4]]={f:m4,j:[],i:[],ti:[],ic:[]}
d_[x[5]]={}
var m5=function(e,s,r,gg){
var z=gz$gwx_6()
var oJ=_mz(z,'form',['reportSubmit',-1,'bindsubmit',0],[],e,s,gg)
var lK=_n('slot')
_(oJ,lK)
_(r,oJ)
return r
}
e_[x[5]]={f:m5,j:[],i:[],ti:[],ic:[]}
d_[x[6]]={}
var m6=function(e,s,r,gg){
var z=gz$gwx_7()
var tM=_n('slot')
_rz(z,tM,'name',0,e,s,gg)
_(r,tM)
return r
}
e_[x[6]]={f:m6,j:[],i:[],ti:[],ic:[]}
d_[x[7]]={}
var m7=function(e,s,r,gg){
var z=gz$gwx_8()
var bO=_v()
_(r,bO)
if(_oz(z,0,e,s,gg)){bO.wxVkey=1
var oP=_v()
_(bO,oP)
if(_oz(z,1,e,s,gg)){oP.wxVkey=1
}
oP.wxXCkey=1
}
bO.wxXCkey=1
return r
}
e_[x[7]]={f:m7,j:[],i:[],ti:[],ic:[]}
d_[x[8]]={}
d_[x[8]]["editor_content_view"]=function(e,s,r,gg){
var z=gz$gwx_9()
var b=x[8]+':editor_content_view'
r.wxVkey=b
gg.f=$gdc(f_["./components/editor-content-view/editor-content-view.wxml"],"",1)
if(p_[b]){_wl(b,x[8]);return}
p_[b]=true
try{
var oB=_v()
_(r,oB)
var xC=function(fE,oD,cF,gg){
var oH=_v()
_(cF,oH)
if(_oz(z,5,fE,oD,gg)){oH.wxVkey=1
var cI=_n('view')
_rz(z,cI,'class',6,fE,oD,gg)
var lK=_n('view')
_rz(z,lK,'class',7,fE,oD,gg)
var aL=_v()
_(lK,aL)
if(_oz(z,8,fE,oD,gg)){aL.wxVkey=1
}
var tM=_v()
_(lK,tM)
if(_oz(z,9,fE,oD,gg)){tM.wxVkey=1
}
aL.wxXCkey=1
tM.wxXCkey=1
_(cI,lK)
var oJ=_v()
_(cI,oJ)
if(_oz(z,10,fE,oD,gg)){oJ.wxVkey=1
}
oJ.wxXCkey=1
_(oH,cI)
}
else if(_oz(z,11,fE,oD,gg)){oH.wxVkey=2
}
else if(_oz(z,12,fE,oD,gg)){oH.wxVkey=3
var eN=_v()
_(oH,eN)
var bO=_oz(z,14,fE,oD,gg)
var oP=_gd(x[8],bO,e_,d_)
if(oP){
var xQ=_1z(z,13,fE,oD,gg) || {}
var cur_globalf=gg.f
eN.wxXCkey=3
oP(xQ,xQ,eN,gg)
gg.f=cur_globalf
}
else _w(bO,x[8],49,22)
}
else if(_oz(z,15,fE,oD,gg)){oH.wxVkey=4
}
else if(_oz(z,16,fE,oD,gg)){oH.wxVkey=5
}
else if(_oz(z,17,fE,oD,gg)){oH.wxVkey=6
var oR=_v()
_(oH,oR)
if(_oz(z,18,fE,oD,gg)){oR.wxVkey=1
}
oR.wxXCkey=1
}
else if(_oz(z,19,fE,oD,gg)){oH.wxVkey=7
var fS=_v()
_(oH,fS)
if(_oz(z,20,fE,oD,gg)){fS.wxVkey=1
}
fS.wxXCkey=1
}
else if(_oz(z,21,fE,oD,gg)){oH.wxVkey=8
var cT=_v()
_(oH,cT)
if(_oz(z,22,fE,oD,gg)){cT.wxVkey=1
}
cT.wxXCkey=1
}
else if(_oz(z,23,fE,oD,gg)){oH.wxVkey=9
var hU=_v()
_(oH,hU)
var oV=_oz(z,25,fE,oD,gg)
var cW=_gd(x[8],oV,e_,d_)
if(cW){
var oX=_1z(z,24,fE,oD,gg) || {}
var cur_globalf=gg.f
hU.wxXCkey=3
cW(oX,oX,hU,gg)
gg.f=cur_globalf
}
else _w(oV,x[8],131,22)
}
else if(_oz(z,26,fE,oD,gg)){oH.wxVkey=10
}
else if(_oz(z,27,fE,oD,gg)){oH.wxVkey=11
var lY=_mz(z,'view',['bindtap',28,'class',1],[],fE,oD,gg)
var aZ=_v()
_(lY,aZ)
if(_oz(z,30,fE,oD,gg)){aZ.wxVkey=1
}
var t1=_n('view')
_rz(z,t1,'class',31,fE,oD,gg)
var e2=_v()
_(t1,e2)
if(_oz(z,32,fE,oD,gg)){e2.wxVkey=1
var b3=_v()
_(e2,b3)
var o4=function(o6,x5,f7,gg){
var h9=_v()
_(f7,h9)
var o0=_oz(z,38,o6,x5,gg)
var cAB=_gd(x[8],o0,e_,d_)
if(cAB){
var oBB=_1z(z,37,o6,x5,gg) || {}
var cur_globalf=gg.f
h9.wxXCkey=3
cAB(oBB,oBB,h9,gg)
gg.f=cur_globalf
}
else _w(o0,x[8],158,30)
return f7
}
b3.wxXCkey=2
_2z(z,35,o4,fE,oD,gg,b3,'coupon','idx','id')
}
else{e2.wxVkey=2
}
e2.wxXCkey=1
_(lY,t1)
aZ.wxXCkey=1
_(oH,lY)
}
else if(_oz(z,39,fE,oD,gg)){oH.wxVkey=12
var lCB=_n('view')
_rz(z,lCB,'class',40,fE,oD,gg)
var aDB=_v()
_(lCB,aDB)
if(_oz(z,41,fE,oD,gg)){aDB.wxVkey=1
var tEB=_v()
_(aDB,tEB)
var eFB=function(oHB,bGB,xIB,gg){
var fKB=_v()
_(xIB,fKB)
var cLB=_oz(z,47,oHB,bGB,gg)
var hMB=_gd(x[8],cLB,e_,d_)
if(hMB){
var oNB=_1z(z,46,oHB,bGB,gg) || {}
var cur_globalf=gg.f
fKB.wxXCkey=3
hMB(oNB,oNB,fKB,gg)
gg.f=cur_globalf
}
else _w(cLB,x[8],183,28)
return xIB
}
tEB.wxXCkey=2
_2z(z,44,eFB,fE,oD,gg,tEB,'groupon','idx','id')
}
else{aDB.wxVkey=2
}
aDB.wxXCkey=1
_(oH,lCB)
}
else if(_oz(z,48,fE,oD,gg)){oH.wxVkey=13
var cOB=_n('view')
_rz(z,cOB,'class',49,fE,oD,gg)
var oPB=_v()
_(cOB,oPB)
if(_oz(z,50,fE,oD,gg)){oPB.wxVkey=1
var lQB=_v()
_(oPB,lQB)
var aRB=function(eTB,tSB,bUB,gg){
var xWB=_v()
_(bUB,xWB)
var oXB=_oz(z,56,eTB,tSB,gg)
var fYB=_gd(x[8],oXB,e_,d_)
if(fYB){
var cZB=_1z(z,55,eTB,tSB,gg) || {}
var cur_globalf=gg.f
xWB.wxXCkey=3
fYB(cZB,cZB,xWB,gg)
gg.f=cur_globalf
}
else _w(oXB,x[8],207,28)
return bUB
}
lQB.wxXCkey=2
_2z(z,53,aRB,fE,oD,gg,lQB,'bargaining','idx','id')
}
else{oPB.wxVkey=2
}
oPB.wxXCkey=1
_(oH,cOB)
}
else if(_oz(z,57,fE,oD,gg)){oH.wxVkey=14
var h1B=_v()
_(oH,h1B)
var o2B=_oz(z,59,fE,oD,gg)
var c3B=_gd(x[8],o2B,e_,d_)
if(c3B){
var o4B=_1z(z,58,fE,oD,gg) || {}
var cur_globalf=gg.f
h1B.wxXCkey=3
c3B(o4B,o4B,h1B,gg)
gg.f=cur_globalf
}
else _w(o2B,x[8],218,22)
}
else if(_oz(z,60,fE,oD,gg)){oH.wxVkey=15
var l5B=_v()
_(oH,l5B)
var a6B=_oz(z,62,fE,oD,gg)
var t7B=_gd(x[8],a6B,e_,d_)
if(t7B){
var e8B=_1z(z,61,fE,oD,gg) || {}
var cur_globalf=gg.f
l5B.wxXCkey=3
t7B(e8B,e8B,l5B,gg)
gg.f=cur_globalf
}
else _w(a6B,x[8],223,22)
}
else if(_oz(z,63,fE,oD,gg)){oH.wxVkey=16
}
else if(_oz(z,64,fE,oD,gg)){oH.wxVkey=17
var b9B=_v()
_(oH,b9B)
var o0B=_oz(z,66,fE,oD,gg)
var xAC=_gd(x[8],o0B,e_,d_)
if(xAC){
var oBC=_1z(z,65,fE,oD,gg) || {}
var cur_globalf=gg.f
b9B.wxXCkey=3
xAC(oBC,oBC,b9B,gg)
gg.f=cur_globalf
}
else _w(o0B,x[8],236,22)
}
else if(_oz(z,67,fE,oD,gg)){oH.wxVkey=18
}
oH.wxXCkey=1
return cF
}
oB.wxXCkey=2
_2z(z,3,xC,e,s,gg,oB,'item','contentIndex','id')
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m8=function(e,s,r,gg){
var z=gz$gwx_9()
var oR=e_[x[8]].i
_ai(oR,x[9],e_,x[8],1,1)
_ai(oR,x[10],e_,x[8],2,2)
_ai(oR,x[11],e_,x[8],3,2)
_ai(oR,x[12],e_,x[8],4,2)
_ai(oR,x[13],e_,x[8],5,2)
_ai(oR,x[14],e_,x[8],6,2)
_ai(oR,x[15],e_,x[8],7,2)
_ai(oR,x[16],e_,x[8],8,2)
oR.pop()
oR.pop()
oR.pop()
oR.pop()
oR.pop()
oR.pop()
oR.pop()
oR.pop()
return r
}
e_[x[8]]={f:m8,j:[],i:[],ti:[x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16]],ic:[]}
d_[x[17]]={}
d_[x[17]]["actionSheet"]=function(e,s,r,gg){
var z=gz$gwx_10()
var b=x[17]+':actionSheet'
r.wxVkey=b
gg.f=$gdc(f_["./components/editor/components/actionSheet/actionSheet.wxml"],"",1)
if(p_[b]){_wl(b,x[17]);return}
p_[b]=true
try{
var oB=_v()
_(r,oB)
if(_oz(z,1,e,s,gg)){oB.wxVkey=1
}
oB.wxXCkey=1
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m9=function(e,s,r,gg){
var z=gz$gwx_10()
return r
}
e_[x[17]]={f:m9,j:[],i:[],ti:[],ic:[]}
d_[x[18]]={}
d_[x[18]]["editor-toolbar"]=function(e,s,r,gg){
var z=gz$gwx_11()
var b=x[18]+':editor-toolbar'
r.wxVkey=b
gg.f=$gdc(f_["./components/editor/editor.wxml"],"",1)
if(p_[b]){_wl(b,x[18]);return}
p_[b]=true
try{
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
d_[x[18]]["editor"]=function(e,s,r,gg){
var z=gz$gwx_11()
var b=x[18]+':editor'
r.wxVkey=b
gg.f=$gdc(f_["./components/editor/editor.wxml"],"",1)
if(p_[b]){_wl(b,x[18]);return}
p_[b]=true
try{
var oB=_v()
_(r,oB)
var xC=_oz(z,3,e,s,gg)
var oD=_gd(x[18],xC,e_,d_)
if(oD){
var fE=_1z(z,2,e,s,gg) || {}
var cur_globalf=gg.f
oB.wxXCkey=3
oD(fE,fE,oB,gg)
gg.f=cur_globalf
}
else _w(xC,x[18],27,16)
var cF=_v()
_(r,cF)
var hG=_oz(z,5,e,s,gg)
var oH=_gd(x[18],hG,e_,d_)
if(oH){
var cI=_1z(z,4,e,s,gg) || {}
var cur_globalf=gg.f
cF.wxXCkey=3
oH(cI,cI,cF,gg)
gg.f=cur_globalf
}
else _w(hG,x[18],28,16)
var oJ=_v()
_(r,oJ)
var lK=_oz(z,7,e,s,gg)
var aL=_gd(x[18],lK,e_,d_)
if(aL){
var tM=_1z(z,6,e,s,gg) || {}
var cur_globalf=gg.f
oJ.wxXCkey=3
aL(tM,tM,oJ,gg)
gg.f=cur_globalf
}
else _w(lK,x[18],29,16)
var eN=_n('view')
_rz(z,eN,'class',8,e,s,gg)
var bO=_v()
_(eN,bO)
var oP=function(oR,xQ,fS,gg){
var hU=_n('view')
_rz(z,hU,'class',11,oR,xQ,gg)
var oV=_v()
_(hU,oV)
if(_oz(z,12,oR,xQ,gg)){oV.wxVkey=1
var oX=_v()
_(oV,oX)
var lY=_oz(z,14,oR,xQ,gg)
var aZ=_gd(x[18],lY,e_,d_)
if(aZ){
var t1=_1z(z,13,oR,xQ,gg) || {}
var cur_globalf=gg.f
oX.wxXCkey=3
aZ(t1,t1,oX,gg)
gg.f=cur_globalf
}
else _w(lY,x[18],38,22)
}
var cW=_v()
_(hU,cW)
if(_oz(z,15,oR,xQ,gg)){cW.wxVkey=1
}
oV.wxXCkey=1
cW.wxXCkey=1
_(fS,hU)
var e2=_n('view')
_rz(z,e2,'class',16,oR,xQ,gg)
var b3=_v()
_(e2,b3)
if(_oz(z,17,oR,xQ,gg)){b3.wxVkey=1
var o4=_mz(z,'view',['bindtap',18,'class',1,'data-content',2,'data-index',3,'style',4],[],oR,xQ,gg)
var x5=_v()
_(o4,x5)
if(_oz(z,23,oR,xQ,gg)){x5.wxVkey=1
}
x5.wxXCkey=1
_(b3,o4)
}
else if(_oz(z,24,oR,xQ,gg)){b3.wxVkey=2
}
else if(_oz(z,25,oR,xQ,gg)){b3.wxVkey=3
var o6=_v()
_(b3,o6)
if(_oz(z,26,oR,xQ,gg)){o6.wxVkey=1
var c8=_v()
_(o6,c8)
if(_oz(z,27,oR,xQ,gg)){c8.wxVkey=1
}
c8.wxXCkey=1
}
var f7=_v()
_(b3,f7)
if(_oz(z,28,oR,xQ,gg)){f7.wxVkey=1
var h9=_v()
_(f7,h9)
var o0=_oz(z,30,oR,xQ,gg)
var cAB=_gd(x[18],o0,e_,d_)
if(cAB){
var oBB=_1z(z,29,oR,xQ,gg) || {}
var cur_globalf=gg.f
h9.wxXCkey=3
cAB(oBB,oBB,h9,gg)
gg.f=cur_globalf
}
else _w(o0,x[18],90,28)
}
o6.wxXCkey=1
f7.wxXCkey=1
}
else if(_oz(z,31,oR,xQ,gg)){b3.wxVkey=4
}
else if(_oz(z,32,oR,xQ,gg)){b3.wxVkey=5
}
else if(_oz(z,33,oR,xQ,gg)){b3.wxVkey=6
var lCB=_v()
_(b3,lCB)
var aDB=_oz(z,35,oR,xQ,gg)
var tEB=_gd(x[18],aDB,e_,d_)
if(tEB){
var eFB=_1z(z,34,oR,xQ,gg) || {}
var cur_globalf=gg.f
lCB.wxXCkey=3
tEB(eFB,eFB,lCB,gg)
gg.f=cur_globalf
}
else _w(aDB,x[18],124,24)
}
else if(_oz(z,36,oR,xQ,gg)){b3.wxVkey=7
}
else if(_oz(z,37,oR,xQ,gg)){b3.wxVkey=8
}
else if(_oz(z,38,oR,xQ,gg)){b3.wxVkey=9
var bGB=_v()
_(b3,bGB)
var oHB=_oz(z,40,oR,xQ,gg)
var xIB=_gd(x[18],oHB,e_,d_)
if(xIB){
var oJB=_1z(z,39,oR,xQ,gg) || {}
var cur_globalf=gg.f
bGB.wxXCkey=3
xIB(oJB,oJB,bGB,gg)
gg.f=cur_globalf
}
else _w(oHB,x[18],163,24)
}
else if(_oz(z,41,oR,xQ,gg)){b3.wxVkey=10
}
else if(_oz(z,42,oR,xQ,gg)){b3.wxVkey=11
var fKB=_n('view')
_rz(z,fKB,'class',43,oR,xQ,gg)
var cLB=_v()
_(fKB,cLB)
if(_oz(z,44,oR,xQ,gg)){cLB.wxVkey=1
}
var hMB=_n('view')
_rz(z,hMB,'class',45,oR,xQ,gg)
var oNB=_v()
_(hMB,oNB)
if(_oz(z,46,oR,xQ,gg)){oNB.wxVkey=1
var cOB=_v()
_(oNB,cOB)
var oPB=function(aRB,lQB,tSB,gg){
var bUB=_v()
_(tSB,bUB)
var oVB=_oz(z,52,aRB,lQB,gg)
var xWB=_gd(x[18],oVB,e_,d_)
if(xWB){
var oXB=_1z(z,51,aRB,lQB,gg) || {}
var cur_globalf=gg.f
bUB.wxXCkey=3
xWB(oXB,oXB,bUB,gg)
gg.f=cur_globalf
}
else _w(oVB,x[18],202,32)
return tSB
}
cOB.wxXCkey=2
_2z(z,49,oPB,oR,xQ,gg,cOB,'coupon','idx','id')
}
else{oNB.wxVkey=2
}
oNB.wxXCkey=1
_(fKB,hMB)
cLB.wxXCkey=1
_(b3,fKB)
}
else if(_oz(z,53,oR,xQ,gg)){b3.wxVkey=12
var fYB=_n('view')
_rz(z,fYB,'class',54,oR,xQ,gg)
var cZB=_v()
_(fYB,cZB)
if(_oz(z,55,oR,xQ,gg)){cZB.wxVkey=1
var h1B=_v()
_(cZB,h1B)
var o2B=function(o4B,c3B,l5B,gg){
var t7B=_v()
_(l5B,t7B)
var e8B=_oz(z,61,o4B,c3B,gg)
var b9B=_gd(x[18],e8B,e_,d_)
if(b9B){
var o0B=_1z(z,60,o4B,c3B,gg) || {}
var cur_globalf=gg.f
t7B.wxXCkey=3
b9B(o0B,o0B,t7B,gg)
gg.f=cur_globalf
}
else _w(e8B,x[18],229,32)
return l5B
}
h1B.wxXCkey=2
_2z(z,58,o2B,oR,xQ,gg,h1B,'groupon','idx','id')
}
else{cZB.wxVkey=2
}
cZB.wxXCkey=1
_(b3,fYB)
}
else if(_oz(z,62,oR,xQ,gg)){b3.wxVkey=13
var xAC=_n('view')
_rz(z,xAC,'class',63,oR,xQ,gg)
var oBC=_v()
_(xAC,oBC)
if(_oz(z,64,oR,xQ,gg)){oBC.wxVkey=1
var fCC=_v()
_(oBC,fCC)
var cDC=function(oFC,hEC,cGC,gg){
var lIC=_v()
_(cGC,lIC)
var aJC=_oz(z,70,oFC,hEC,gg)
var tKC=_gd(x[18],aJC,e_,d_)
if(tKC){
var eLC=_1z(z,69,oFC,hEC,gg) || {}
var cur_globalf=gg.f
lIC.wxXCkey=3
tKC(eLC,eLC,lIC,gg)
gg.f=cur_globalf
}
else _w(aJC,x[18],256,32)
return cGC
}
fCC.wxXCkey=2
_2z(z,67,cDC,oR,xQ,gg,fCC,'bargaining','idx','id')
}
else{oBC.wxVkey=2
}
oBC.wxXCkey=1
_(b3,xAC)
}
else if(_oz(z,71,oR,xQ,gg)){b3.wxVkey=14
var bMC=_v()
_(b3,bMC)
var oNC=_oz(z,73,oR,xQ,gg)
var xOC=_gd(x[18],oNC,e_,d_)
if(xOC){
var oPC=_1z(z,72,oR,xQ,gg) || {}
var cur_globalf=gg.f
bMC.wxXCkey=3
xOC(oPC,oPC,bMC,gg)
gg.f=cur_globalf
}
else _w(oNC,x[18],269,24)
}
else if(_oz(z,74,oR,xQ,gg)){b3.wxVkey=15
var fQC=_v()
_(b3,fQC)
var cRC=_oz(z,76,oR,xQ,gg)
var hSC=_gd(x[18],cRC,e_,d_)
if(hSC){
var oTC=_1z(z,75,oR,xQ,gg) || {}
var cur_globalf=gg.f
fQC.wxXCkey=3
hSC(oTC,oTC,fQC,gg)
gg.f=cur_globalf
}
else _w(cRC,x[18],285,26)
}
else if(_oz(z,77,oR,xQ,gg)){b3.wxVkey=16
}
else if(_oz(z,78,oR,xQ,gg)){b3.wxVkey=17
var cUC=_v()
_(b3,cUC)
var oVC=_oz(z,80,oR,xQ,gg)
var lWC=_gd(x[18],oVC,e_,d_)
if(lWC){
var aXC=_1z(z,79,oR,xQ,gg) || {}
var cur_globalf=gg.f
cUC.wxXCkey=3
lWC(aXC,aXC,cUC,gg)
gg.f=cur_globalf
}
else _w(oVC,x[18],315,24)
}
else if(_oz(z,81,oR,xQ,gg)){b3.wxVkey=18
}
else{b3.wxVkey=19
}
b3.wxXCkey=1
_(fS,e2)
return fS
}
bO.wxXCkey=2
_2z(z,9,oP,e,s,gg,bO,'item','index','index')
var tYC=_n('view')
_rz(z,tYC,'class',82,e,s,gg)
var eZC=_v()
_(tYC,eZC)
if(_oz(z,83,e,s,gg)){eZC.wxVkey=1
}
var b1C=_v()
_(tYC,b1C)
var o2C=_oz(z,85,e,s,gg)
var x3C=_gd(x[18],o2C,e_,d_)
if(x3C){
var o4C=_1z(z,84,e,s,gg) || {}
var cur_globalf=gg.f
b1C.wxXCkey=3
x3C(o4C,o4C,b1C,gg)
gg.f=cur_globalf
}
else _w(o2C,x[18],335,20)
eZC.wxXCkey=1
_(eN,tYC)
_(r,eN)
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m10=function(e,s,r,gg){
var z=gz$gwx_11()
var hU=e_[x[18]].i
_ai(hU,x[19],e_,x[18],1,1)
_ai(hU,x[20],e_,x[18],2,2)
_ai(hU,x[9],e_,x[18],3,2)
_ai(hU,x[21],e_,x[18],4,2)
_ai(hU,x[14],e_,x[18],5,2)
_ai(hU,x[22],e_,x[18],6,2)
_ai(hU,x[10],e_,x[18],7,2)
_ai(hU,x[11],e_,x[18],8,2)
_ai(hU,x[12],e_,x[18],9,2)
_ai(hU,x[13],e_,x[18],10,2)
_ai(hU,x[15],e_,x[18],11,2)
_ai(hU,x[16],e_,x[18],12,2)
hU.pop()
hU.pop()
hU.pop()
hU.pop()
hU.pop()
hU.pop()
hU.pop()
hU.pop()
hU.pop()
hU.pop()
hU.pop()
hU.pop()
return r
}
e_[x[18]]={f:m10,j:[],i:[],ti:[x[19],x[20],x[9],x[21],x[14],x[22],x[10],x[11],x[12],x[13],x[15],x[16]],ic:[]}
d_[x[23]]={}
d_[x[23]]["editor-type-navigation"]=function(e,s,r,gg){
var z=gz$gwx_12()
var b=x[23]+':editor-type-navigation'
r.wxVkey=b
gg.f=$gdc(f_["./components/editor/navigation/navigation.wxml"],"",1)
if(p_[b]){_wl(b,x[23]);return}
p_[b]=true
try{
var oB=_n('view')
_rz(z,oB,'class',1,e,s,gg)
var xC=_v()
_(oB,xC)
if(_oz(z,2,e,s,gg)){xC.wxVkey=1
var oD=_v()
_(xC,oD)
if(_oz(z,3,e,s,gg)){oD.wxVkey=1
var fE=_v()
_(oD,fE)
var cF=function(oH,hG,cI,gg){
var lK=_v()
_(cI,lK)
if(_oz(z,8,oH,hG,gg)){lK.wxVkey=1
var aL=_mz(z,'view',['catchtap',9,'class',1,'data-index',2,'data-key',3,'data-mode',4],[],oH,hG,gg)
var tM=_v()
_(aL,tM)
if(_oz(z,14,oH,hG,gg)){tM.wxVkey=1
}
var eN=_n('view')
_rz(z,eN,'class',15,oH,hG,gg)
var bO=_v()
_(eN,bO)
if(_oz(z,16,oH,hG,gg)){bO.wxVkey=1
var oP=_v()
_(bO,oP)
if(_oz(z,17,oH,hG,gg)){oP.wxVkey=1
}
oP.wxXCkey=1
}
else{bO.wxVkey=2
}
bO.wxXCkey=1
_(aL,eN)
tM.wxXCkey=1
_(lK,aL)
}
lK.wxXCkey=1
return cI
}
fE.wxXCkey=2
_2z(z,6,cF,e,s,gg,fE,'item','index','cid')
}
else if(_oz(z,18,e,s,gg)){oD.wxVkey=2
var xQ=_v()
_(oD,xQ)
if(_oz(z,19,e,s,gg)){xQ.wxVkey=1
var oR=_v()
_(xQ,oR)
var fS=function(hU,cT,oV,gg){
var oX=_v()
_(oV,oX)
if(_oz(z,22,hU,cT,gg)){oX.wxVkey=1
}
oX.wxXCkey=1
return oV
}
oR.wxXCkey=2
_2z(z,20,fS,e,s,gg,oR,'item','index','cid')
}
xQ.wxXCkey=1
}
else if(_oz(z,23,e,s,gg)){oD.wxVkey=3
var lY=_v()
_(oD,lY)
var aZ=function(e2,t1,b3,gg){
var x5=_v()
_(b3,x5)
if(_oz(z,26,e2,t1,gg)){x5.wxVkey=1
var o6=_mz(z,'view',['catchtap',27,'class',1,'data-index',2,'data-key',3,'data-mode',4],[],e2,t1,gg)
var f7=_v()
_(o6,f7)
if(_oz(z,32,e2,t1,gg)){f7.wxVkey=1
}
var c8=_n('view')
_rz(z,c8,'class',33,e2,t1,gg)
var h9=_v()
_(c8,h9)
if(_oz(z,34,e2,t1,gg)){h9.wxVkey=1
var o0=_v()
_(h9,o0)
if(_oz(z,35,e2,t1,gg)){o0.wxVkey=1
}
o0.wxXCkey=1
}
else if(_oz(z,36,e2,t1,gg)){h9.wxVkey=2
var cAB=_v()
_(h9,cAB)
if(_oz(z,37,e2,t1,gg)){cAB.wxVkey=1
}
cAB.wxXCkey=1
}
h9.wxXCkey=1
_(o6,c8)
f7.wxXCkey=1
_(x5,o6)
}
x5.wxXCkey=1
return b3
}
lY.wxXCkey=2
_2z(z,24,aZ,e,s,gg,lY,'item','index','cid')
}
else if(_oz(z,38,e,s,gg)){oD.wxVkey=4
var oBB=_v()
_(oD,oBB)
if(_oz(z,39,e,s,gg)){oBB.wxVkey=1
var lCB=_v()
_(oBB,lCB)
var aDB=function(eFB,tEB,bGB,gg){
var xIB=_v()
_(bGB,xIB)
if(_oz(z,42,eFB,tEB,gg)){xIB.wxVkey=1
}
xIB.wxXCkey=1
return bGB
}
lCB.wxXCkey=2
_2z(z,40,aDB,e,s,gg,lCB,'item','index','cid')
}
else{oBB.wxVkey=2
}
oBB.wxXCkey=1
}
else if(_oz(z,43,e,s,gg)){oD.wxVkey=5
var oJB=_v()
_(oD,oJB)
if(_oz(z,44,e,s,gg)){oJB.wxVkey=1
var fKB=_v()
_(oJB,fKB)
var cLB=function(oNB,hMB,cOB,gg){
var lQB=_v()
_(cOB,lQB)
if(_oz(z,47,oNB,hMB,gg)){lQB.wxVkey=1
var aRB=_mz(z,'view',['catchtap',48,'class',1,'data-index',2,'data-key',3,'data-mode',4],[],oNB,hMB,gg)
var tSB=_v()
_(aRB,tSB)
if(_oz(z,53,oNB,hMB,gg)){tSB.wxVkey=1
}
tSB.wxXCkey=1
_(lQB,aRB)
}
lQB.wxXCkey=1
return cOB
}
fKB.wxXCkey=2
_2z(z,45,cLB,e,s,gg,fKB,'item','index','cid')
}
else if(_oz(z,54,e,s,gg)){oJB.wxVkey=2
var eTB=_v()
_(oJB,eTB)
var bUB=function(xWB,oVB,oXB,gg){
var cZB=_v()
_(oXB,cZB)
if(_oz(z,57,xWB,oVB,gg)){cZB.wxVkey=1
}
cZB.wxXCkey=1
return oXB
}
eTB.wxXCkey=2
_2z(z,55,bUB,e,s,gg,eTB,'item','index','cid')
}
oJB.wxXCkey=1
}
oD.wxXCkey=1
}
else{xC.wxVkey=2
}
xC.wxXCkey=1
_(r,oB)
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m11=function(e,s,r,gg){
var z=gz$gwx_12()
return r
}
e_[x[23]]={f:m11,j:[],i:[],ti:[],ic:[]}
d_[x[24]]={}
d_[x[24]]["section-activity"]=function(e,s,r,gg){
var z=gz$gwx_13()
var b=x[24]+':section-activity'
r.wxVkey=b
gg.f=$gdc(f_["./components/editor/section-activity/editor-activity/editor-activity.wxml"],"",1)
if(p_[b]){_wl(b,x[24]);return}
p_[b]=true
try{
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m12=function(e,s,r,gg){
var z=gz$gwx_13()
return r
}
e_[x[24]]={f:m12,j:[],i:[],ti:[],ic:[]}
d_[x[25]]={}
var m13=function(e,s,r,gg){
var z=gz$gwx_14()
var lY=_n('wrapper')
_rz(z,lY,'item',0,e,s,gg)
_(r,lY)
return r
}
e_[x[25]]={f:m13,j:[],i:[],ti:[],ic:[]}
d_[x[26]]={}
var m14=function(e,s,r,gg){
var z=gz$gwx_15()
var t1=_n('view')
_rz(z,t1,'class',0,e,s,gg)
var e2=_v()
_(t1,e2)
if(_oz(z,1,e,s,gg)){e2.wxVkey=1
}
var b3=_n('slot')
_(t1,b3)
e2.wxXCkey=1
_(r,t1)
return r
}
e_[x[26]]={f:m14,j:[],i:[],ti:[],ic:[]}
d_[x[27]]={}
d_[x[27]]["bargaining"]=function(e,s,r,gg){
var z=gz$gwx_16()
var b=x[27]+':bargaining'
r.wxVkey=b
gg.f=$gdc(f_["./components/editor/section-bargaining/template/bargaining.wxml"],"",1)
if(p_[b]){_wl(b,x[27]);return}
p_[b]=true
try{
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m15=function(e,s,r,gg){
var z=gz$gwx_16()
return r
}
e_[x[27]]={f:m15,j:[],i:[],ti:[],ic:[]}
d_[x[28]]={}
d_[x[28]]["coupon"]=function(e,s,r,gg){
var z=gz$gwx_17()
var b=x[28]+':coupon'
r.wxVkey=b
gg.f=$gdc(f_["./components/editor/section-coupon/template/card/card.wxml"],"",1)
if(p_[b]){_wl(b,x[28]);return}
p_[b]=true
try{
var oB=_mz(z,'view',['bindtap',1,'class',1,'data-index',2,'data-status',3],[],e,s,gg)
var xC=_n('view')
_rz(z,xC,'class',5,e,s,gg)
var oD=_v()
_(xC,oD)
if(_oz(z,6,e,s,gg)){oD.wxVkey=1
}
var fE=_v()
_(xC,fE)
if(_oz(z,7,e,s,gg)){fE.wxVkey=1
}
var cF=_v()
_(xC,cF)
if(_oz(z,8,e,s,gg)){cF.wxVkey=1
}
var hG=_v()
_(xC,hG)
if(_oz(z,9,e,s,gg)){hG.wxVkey=1
}
oD.wxXCkey=1
fE.wxXCkey=1
cF.wxXCkey=1
hG.wxXCkey=1
_(oB,xC)
_(r,oB)
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m16=function(e,s,r,gg){
var z=gz$gwx_17()
return r
}
e_[x[28]]={f:m16,j:[],i:[],ti:[],ic:[]}
d_[x[29]]={}
d_[x[29]]["minicard"]=function(e,s,r,gg){
var z=gz$gwx_18()
var b=x[29]+':minicard'
r.wxVkey=b
gg.f=$gdc(f_["./components/editor/section-coupon/template/minicard/minicard.wxml"],"",1)
if(p_[b]){_wl(b,x[29]);return}
p_[b]=true
try{
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m17=function(e,s,r,gg){
var z=gz$gwx_18()
return r
}
e_[x[29]]={f:m17,j:[],i:[],ti:[],ic:[]}
d_[x[30]]={}
d_[x[30]]["form"]=function(e,s,r,gg){
var z=gz$gwx_19()
var b=x[30]+':form'
r.wxVkey=b
gg.f=$gdc(f_["./components/editor/section-form/section-form.wxml"],"",1)
if(p_[b]){_wl(b,x[30]);return}
p_[b]=true
try{
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m18=function(e,s,r,gg){
var z=gz$gwx_19()
return r
}
e_[x[30]]={f:m18,j:[],i:[],ti:[],ic:[]}
d_[x[31]]={}
d_[x[31]]["groupon"]=function(e,s,r,gg){
var z=gz$gwx_20()
var b=x[31]+':groupon'
r.wxVkey=b
gg.f=$gdc(f_["./components/editor/section-groupon/template/groupon.wxml"],"",1)
if(p_[b]){_wl(b,x[31]);return}
p_[b]=true
try{
var oB=_mz(z,'view',['bindtap',1,'class',1,'data-id',2,'data-index',3,'data-type',4],[],e,s,gg)
var xC=_v()
_(oB,xC)
if(_oz(z,6,e,s,gg)){xC.wxVkey=1
}
xC.wxXCkey=1
_(r,oB)
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m19=function(e,s,r,gg){
var z=gz$gwx_20()
return r
}
e_[x[31]]={f:m19,j:[],i:[],ti:[],ic:[]}
d_[x[32]]={}
d_[x[32]]["image-layout"]=function(e,s,r,gg){
var z=gz$gwx_21()
var b=x[32]+':image-layout'
r.wxVkey=b
gg.f=$gdc(f_["./components/editor/section-image/image-layout-template/image-layout-template.wxml"],"",1)
if(p_[b]){_wl(b,x[32]);return}
p_[b]=true
try{
var oB=_v()
_(r,oB)
if(_oz(z,1,e,s,gg)){oB.wxVkey=1
var oD=_v()
_(oB,oD)
if(_oz(z,2,e,s,gg)){oD.wxVkey=1
var fE=_v()
_(oD,fE)
var cF=function(oH,hG,cI,gg){
var lK=_mz(z,'view',['catchtap',7,'data-index',1,'data-key',2,'data-mode',3,'data-op',4],[],oH,hG,gg)
var aL=_v()
_(lK,aL)
if(_oz(z,12,oH,hG,gg)){aL.wxVkey=1
}
aL.wxXCkey=1
_(cI,lK)
return cI
}
fE.wxXCkey=2
_2z(z,5,cF,e,s,gg,fE,'imageCollection','idx','fieldid')
}
else{oD.wxVkey=2
var tM=_mz(z,'view',['catchtap',13,'data-index',1,'data-key',2,'data-mode',3],[],e,s,gg)
var eN=_v()
_(tM,eN)
if(_oz(z,17,e,s,gg)){eN.wxVkey=1
}
eN.wxXCkey=1
_(oD,tM)
}
oD.wxXCkey=1
}
var xC=_v()
_(r,xC)
if(_oz(z,18,e,s,gg)){xC.wxVkey=1
var bO=_v()
_(xC,bO)
var oP=_oz(z,20,e,s,gg)
var xQ=_gd(x[32],oP,e_,d_)
if(xQ){
var oR=_1z(z,19,e,s,gg) || {}
var cur_globalf=gg.f
bO.wxXCkey=3
xQ(oR,oR,bO,gg)
gg.f=cur_globalf
}
else _w(oP,x[32],33,18)
}
oB.wxXCkey=1
xC.wxXCkey=1
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
d_[x[32]]["image-layout-splicing"]=function(e,s,r,gg){
var z=gz$gwx_21()
var b=x[32]+':image-layout-splicing'
r.wxVkey=b
gg.f=$gdc(f_["./components/editor/section-image/image-layout-template/image-layout-template.wxml"],"",1)
if(p_[b]){_wl(b,x[32]);return}
p_[b]=true
try{
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m20=function(e,s,r,gg){
var z=gz$gwx_21()
return r
}
e_[x[32]]={f:m20,j:[],i:[],ti:[],ic:[]}
d_[x[33]]={}
d_[x[33]]["image-layout-picker"]=function(e,s,r,gg){
var z=gz$gwx_22()
var b=x[33]+':image-layout-picker'
r.wxVkey=b
gg.f=$gdc(f_["./components/editor/section-image/layout-picker/layout-picker.wxml"],"",1)
if(p_[b]){_wl(b,x[33]);return}
p_[b]=true
try{
var oB=_v()
_(r,oB)
if(_oz(z,1,e,s,gg)){oB.wxVkey=1
}
oB.wxXCkey=1
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m21=function(e,s,r,gg){
var z=gz$gwx_22()
return r
}
e_[x[33]]={f:m21,j:[],i:[],ti:[],ic:[]}
d_[x[34]]={}
d_[x[34]]["quicklink"]=function(e,s,r,gg){
var z=gz$gwx_23()
var b=x[34]+':quicklink'
r.wxVkey=b
gg.f=$gdc(f_["./components/editor/section-quicklink/section-quicklink.wxml"],"",1)
if(p_[b]){_wl(b,x[34]);return}
p_[b]=true
try{
var oB=_n('view')
_rz(z,oB,'class',1,e,s,gg)
var xC=_v()
_(oB,xC)
if(_oz(z,2,e,s,gg)){xC.wxVkey=1
}
else if(_oz(z,3,e,s,gg)){xC.wxVkey=2
var fE=_v()
_(xC,fE)
var cF=function(oH,hG,cI,gg){
var lK=_v()
_(cI,lK)
if(_oz(z,7,oH,hG,gg)){lK.wxVkey=1
}
lK.wxXCkey=1
return cI
}
fE.wxXCkey=2
_2z(z,5,cF,e,s,gg,fE,'quicklink','index','linkid')
}
else{xC.wxVkey=3
var aL=_v()
_(xC,aL)
var tM=function(bO,eN,oP,gg){
var oR=_v()
_(oP,oR)
if(_oz(z,12,bO,eN,gg)){oR.wxVkey=1
}
oR.wxXCkey=1
return oP
}
aL.wxXCkey=2
_2z(z,10,tM,e,s,gg,aL,'quicklink','index','linkid')
}
var oD=_v()
_(oB,oD)
if(_oz(z,13,e,s,gg)){oD.wxVkey=1
}
xC.wxXCkey=1
oD.wxXCkey=1
_(r,oB)
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m22=function(e,s,r,gg){
var z=gz$gwx_23()
return r
}
e_[x[34]]={f:m22,j:[],i:[],ti:[],ic:[]}
d_[x[35]]={}
var m23=function(e,s,r,gg){
var z=gz$gwx_24()
var lCB=_v()
_(r,lCB)
if(_oz(z,0,e,s,gg)){lCB.wxVkey=1
var aDB=_n('view')
_rz(z,aDB,'class',1,e,s,gg)
var tEB=_v()
_(aDB,tEB)
if(_oz(z,2,e,s,gg)){tEB.wxVkey=1
}
var eFB=_v()
_(aDB,eFB)
if(_oz(z,3,e,s,gg)){eFB.wxVkey=1
}
tEB.wxXCkey=1
eFB.wxXCkey=1
_(lCB,aDB)
}
lCB.wxXCkey=1
return r
}
e_[x[35]]={f:m23,j:[],i:[],ti:[],ic:[]}
d_[x[36]]={}
var m24=function(e,s,r,gg){
var z=gz$gwx_25()
var oHB=_n('view')
var xIB=_mz(z,'view',['catchtap',0,'class',1,'style',1],[],e,s,gg)
var oJB=_n('slot')
_rz(z,oJB,'name',3,e,s,gg)
_(xIB,oJB)
_(oHB,xIB)
var fKB=_n('slot')
_rz(z,fKB,'name',4,e,s,gg)
_(oHB,fKB)
_(r,oHB)
return r
}
e_[x[36]]={f:m24,j:[],i:[],ti:[],ic:[]}
d_[x[37]]={}
var m25=function(e,s,r,gg){
var z=gz$gwx_26()
return r
}
e_[x[37]]={f:m25,j:[],i:[],ti:[],ic:[]}
d_[x[38]]={}
var m26=function(e,s,r,gg){
var z=gz$gwx_27()
return r
}
e_[x[38]]={f:m26,j:[],i:[],ti:[],ic:[]}
d_[x[39]]={}
d_[x[39]]["integral-list"]=function(e,s,r,gg){
var z=gz$gwx_28()
var b=x[39]+':integral-list'
r.wxVkey=b
gg.f=$gdc(f_["./components/integral-list/integral-list.wxml"],"",1)
if(p_[b]){_wl(b,x[39]);return}
p_[b]=true
try{
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m27=function(e,s,r,gg){
var z=gz$gwx_28()
return r
}
e_[x[39]]={f:m27,j:[],i:[],ti:[],ic:[]}
d_[x[40]]={}
d_[x[40]]["link-menu"]=function(e,s,r,gg){
var z=gz$gwx_29()
var b=x[40]+':link-menu'
r.wxVkey=b
gg.f=$gdc(f_["./components/link/link.wxml"],"",1)
if(p_[b]){_wl(b,x[40]);return}
p_[b]=true
try{
var oB=_v()
_(r,oB)
if(_oz(z,1,e,s,gg)){oB.wxVkey=1
}
oB.wxXCkey=1
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m28=function(e,s,r,gg){
var z=gz$gwx_29()
return r
}
e_[x[40]]={f:m28,j:[],i:[],ti:[],ic:[]}
d_[x[41]]={}
var m29=function(e,s,r,gg){
var z=gz$gwx_30()
var lQB=_v()
_(r,lQB)
if(_oz(z,0,e,s,gg)){lQB.wxVkey=1
}
lQB.wxXCkey=1
return r
}
e_[x[41]]={f:m29,j:[],i:[],ti:[],ic:[]}
d_[x[42]]={}
var m30=function(e,s,r,gg){
var z=gz$gwx_31()
var tSB=_v()
_(r,tSB)
if(_oz(z,0,e,s,gg)){tSB.wxVkey=1
}
tSB.wxXCkey=1
return r
}
e_[x[42]]={f:m30,j:[],i:[],ti:[],ic:[]}
d_[x[43]]={}
var m31=function(e,s,r,gg){
var z=gz$gwx_32()
var bUB=_v()
_(r,bUB)
if(_oz(z,0,e,s,gg)){bUB.wxVkey=1
}
bUB.wxXCkey=1
return r
}
e_[x[43]]={f:m31,j:[],i:[],ti:[],ic:[]}
d_[x[44]]={}
var m32=function(e,s,r,gg){
var z=gz$gwx_33()
return r
}
e_[x[44]]={f:m32,j:[],i:[],ti:[],ic:[]}
d_[x[45]]={}
var m33=function(e,s,r,gg){
var z=gz$gwx_34()
var oXB=_v()
_(r,oXB)
if(_oz(z,0,e,s,gg)){oXB.wxVkey=1
var fYB=_n('view')
_rz(z,fYB,'class',1,e,s,gg)
var cZB=_v()
_(fYB,cZB)
if(_oz(z,2,e,s,gg)){cZB.wxVkey=1
}
var h1B=_v()
_(fYB,h1B)
if(_oz(z,3,e,s,gg)){h1B.wxVkey=1
}
cZB.wxXCkey=1
h1B.wxXCkey=1
_(oXB,fYB)
}
oXB.wxXCkey=1
return r
}
e_[x[45]]={f:m33,j:[],i:[],ti:[],ic:[]}
d_[x[46]]={}
var m34=function(e,s,r,gg){
var z=gz$gwx_35()
var c3B=_v()
_(r,c3B)
if(_oz(z,0,e,s,gg)){c3B.wxVkey=1
var o4B=_v()
_(c3B,o4B)
if(_oz(z,1,e,s,gg)){o4B.wxVkey=1
var l5B=_mz(z,'view',['catchtouchmove',2,'class',1],[],e,s,gg)
var a6B=_n('view')
_rz(z,a6B,'class',4,e,s,gg)
var e8B=_mz(z,'view',['catchtap',5,'class',1,'data-status',2],[],e,s,gg)
var b9B=_v()
_(e8B,b9B)
if(_oz(z,8,e,s,gg)){b9B.wxVkey=1
}
var o0B=_v()
_(e8B,o0B)
if(_oz(z,9,e,s,gg)){o0B.wxVkey=1
}
b9B.wxXCkey=1
o0B.wxXCkey=1
_(a6B,e8B)
var t7B=_v()
_(a6B,t7B)
if(_oz(z,10,e,s,gg)){t7B.wxVkey=1
}
t7B.wxXCkey=1
_(l5B,a6B)
var xAC=_mz(z,'view',['animation',11,'class',1],[],e,s,gg)
var oBC=_v()
_(xAC,oBC)
if(_oz(z,13,e,s,gg)){oBC.wxVkey=1
}
var fCC=_v()
_(xAC,fCC)
if(_oz(z,14,e,s,gg)){fCC.wxVkey=1
var cDC=_n('view')
_rz(z,cDC,'class',15,e,s,gg)
var oFC=_n('view')
_rz(z,oFC,'class',16,e,s,gg)
var cGC=_v()
_(oFC,cGC)
if(_oz(z,17,e,s,gg)){cGC.wxVkey=1
}
var oHC=_v()
_(oFC,oHC)
if(_oz(z,18,e,s,gg)){oHC.wxVkey=1
}
var lIC=_v()
_(oFC,lIC)
var aJC=function(eLC,tKC,bMC,gg){
var xOC=_v()
_(bMC,xOC)
if(_oz(z,23,eLC,tKC,gg)){xOC.wxVkey=1
}
xOC.wxXCkey=1
return bMC
}
lIC.wxXCkey=2
_2z(z,21,aJC,e,s,gg,lIC,'nav','idx','idx')
cGC.wxXCkey=1
oHC.wxXCkey=1
_(cDC,oFC)
var hEC=_v()
_(cDC,hEC)
if(_oz(z,24,e,s,gg)){hEC.wxVkey=1
}
hEC.wxXCkey=1
_(fCC,cDC)
}
oBC.wxXCkey=1
fCC.wxXCkey=1
_(l5B,xAC)
_(o4B,l5B)
}
o4B.wxXCkey=1
}
c3B.wxXCkey=1
return r
}
e_[x[46]]={f:m34,j:[],i:[],ti:[],ic:[]}
d_[x[47]]={}
d_[x[47]]["order-actions"]=function(e,s,r,gg){
var z=gz$gwx_36()
var b=x[47]+':order-actions'
r.wxVkey=b
gg.f=$gdc(f_["./components/order-action/order-action.wxml"],"",1)
if(p_[b]){_wl(b,x[47]);return}
p_[b]=true
try{
var oB=_v()
_(r,oB)
if(_oz(z,1,e,s,gg)){oB.wxVkey=1
var xC=_v()
_(oB,xC)
if(_oz(z,2,e,s,gg)){xC.wxVkey=1
}
else if(_oz(z,3,e,s,gg)){xC.wxVkey=2
var fE=_v()
_(xC,fE)
if(_oz(z,4,e,s,gg)){fE.wxVkey=1
}
var cF=_v()
_(xC,cF)
if(_oz(z,5,e,s,gg)){cF.wxVkey=1
}
fE.wxXCkey=1
cF.wxXCkey=1
}
else if(_oz(z,6,e,s,gg)){xC.wxVkey=3
}
else if(_oz(z,7,e,s,gg)){xC.wxVkey=4
}
var oD=_v()
_(oB,oD)
if(_oz(z,8,e,s,gg)){oD.wxVkey=1
}
xC.wxXCkey=1
oD.wxXCkey=1
}
else{oB.wxVkey=2
}
oB.wxXCkey=1
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m35=function(e,s,r,gg){
var z=gz$gwx_36()
return r
}
e_[x[47]]={f:m35,j:[],i:[],ti:[],ic:[]}
d_[x[48]]={}
var m36=function(e,s,r,gg){
var z=gz$gwx_37()
return r
}
e_[x[48]]={f:m36,j:[],i:[],ti:[],ic:[]}
d_[x[49]]={}
d_[x[49]]["searchbar"]=function(e,s,r,gg){
var z=gz$gwx_38()
var b=x[49]+':searchbar'
r.wxVkey=b
gg.f=$gdc(f_["./components/searchbar/searchbar.wxml"],"",1)
if(p_[b]){_wl(b,x[49]);return}
p_[b]=true
try{
var oB=_v()
_(r,oB)
if(_oz(z,1,e,s,gg)){oB.wxVkey=1
}
oB.wxXCkey=1
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m37=function(e,s,r,gg){
var z=gz$gwx_38()
return r
}
e_[x[49]]={f:m37,j:[],i:[],ti:[],ic:[]}
d_[x[50]]={}
var m38=function(e,s,r,gg){
var z=gz$gwx_39()
var oTC=_v()
_(r,oTC)
if(_oz(z,0,e,s,gg)){oTC.wxVkey=1
}
var cUC=_v()
_(r,cUC)
if(_oz(z,1,e,s,gg)){cUC.wxVkey=1
var lWC=_v()
_(cUC,lWC)
if(_oz(z,2,e,s,gg)){lWC.wxVkey=1
}
lWC.wxXCkey=1
}
var oVC=_v()
_(r,oVC)
if(_oz(z,3,e,s,gg)){oVC.wxVkey=1
}
oTC.wxXCkey=1
cUC.wxXCkey=1
oVC.wxXCkey=1
return r
}
e_[x[50]]={f:m38,j:[],i:[],ti:[],ic:[]}
d_[x[51]]={}
var m39=function(e,s,r,gg){
var z=gz$gwx_40()
var tYC=_n('view')
_rz(z,tYC,'class',0,e,s,gg)
var eZC=_v()
_(tYC,eZC)
if(_oz(z,1,e,s,gg)){eZC.wxVkey=1
}
var b1C=_v()
_(tYC,b1C)
if(_oz(z,2,e,s,gg)){b1C.wxVkey=1
}
eZC.wxXCkey=1
b1C.wxXCkey=1
_(r,tYC)
return r
}
e_[x[51]]={f:m39,j:[],i:[],ti:[],ic:[]}
d_[x[52]]={}
var m40=function(e,s,r,gg){
var z=gz$gwx_41()
var x3C=_mz(z,'logo-creator',['bindlogo',0,'logoChar',1],[],e,s,gg)
_(r,x3C)
var o4C=_n('view')
_rz(z,o4C,'bindtap',2,e,s,gg)
var o8C=_n('view')
_rz(z,o8C,'class',3,e,s,gg)
var c9C=_n('view')
_rz(z,c9C,'class',4,e,s,gg)
var lAD=_mz(z,'input-block',['bindclear',5,'bindinput',1,'data-key',2,'focus',3,'placeholder',4,'val',5],[],e,s,gg)
_(c9C,lAD)
var o0C=_v()
_(c9C,o0C)
if(_oz(z,11,e,s,gg)){o0C.wxVkey=1
}
o0C.wxXCkey=1
_(o8C,c9C)
var aBD=_mz(z,'view',['catchtap',12,'class',1],[],e,s,gg)
var tCD=_mz(z,'input-block',['bindclear',14,'bindinput',1,'data-key',2,'placeholder',3,'val',4],[],e,s,gg)
_(aBD,tCD)
_(o8C,aBD)
var eDD=_mz(z,'input-block',['bindclear',19,'bindinput',1,'data-key',2,'placeholder',3,'type',4,'val',5],[],e,s,gg)
_(o8C,eDD)
_(o4C,o8C)
var f5C=_v()
_(o4C,f5C)
if(_oz(z,25,e,s,gg)){f5C.wxVkey=1
}
var bED=_n('slot')
_rz(z,bED,'name',26,e,s,gg)
_(o4C,bED)
var oFD=_n('slot')
_rz(z,oFD,'name',27,e,s,gg)
_(o4C,oFD)
var c6C=_v()
_(o4C,c6C)
if(_oz(z,28,e,s,gg)){c6C.wxVkey=1
}
var h7C=_v()
_(o4C,h7C)
if(_oz(z,29,e,s,gg)){h7C.wxVkey=1
}
f5C.wxXCkey=1
c6C.wxXCkey=1
h7C.wxXCkey=1
_(r,o4C)
return r
}
e_[x[52]]={f:m40,j:[],i:[],ti:[],ic:[]}
d_[x[53]]={}
var m41=function(e,s,r,gg){
var z=gz$gwx_42()
return r
}
e_[x[53]]={f:m41,j:[],i:[],ti:[],ic:[]}
d_[x[54]]={}
d_[x[54]]["nav"]=function(e,s,r,gg){
var z=gz$gwx_43()
var b=x[54]+':nav'
r.wxVkey=b
gg.f=$gdc(f_["./components/tabbar/tabbar.wxml"],"",1)
if(p_[b]){_wl(b,x[54]);return}
p_[b]=true
try{
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
d_[x[54]]["mobile"]=function(e,s,r,gg){
var z=gz$gwx_43()
var b=x[54]+':mobile'
r.wxVkey=b
gg.f=$gdc(f_["./components/tabbar/tabbar.wxml"],"",1)
if(p_[b]){_wl(b,x[54]);return}
p_[b]=true
try{
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
d_[x[54]]["map"]=function(e,s,r,gg){
var z=gz$gwx_43()
var b=x[54]+':map'
r.wxVkey=b
gg.f=$gdc(f_["./components/tabbar/tabbar.wxml"],"",1)
if(p_[b]){_wl(b,x[54]);return}
p_[b]=true
try{
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
d_[x[54]]["members"]=function(e,s,r,gg){
var z=gz$gwx_43()
var b=x[54]+':members'
r.wxVkey=b
gg.f=$gdc(f_["./components/tabbar/tabbar.wxml"],"",1)
if(p_[b]){_wl(b,x[54]);return}
p_[b]=true
try{
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
d_[x[54]]["cart"]=function(e,s,r,gg){
var z=gz$gwx_43()
var b=x[54]+':cart'
r.wxVkey=b
gg.f=$gdc(f_["./components/tabbar/tabbar.wxml"],"",1)
if(p_[b]){_wl(b,x[54]);return}
p_[b]=true
try{
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
d_[x[54]]["payment"]=function(e,s,r,gg){
var z=gz$gwx_43()
var b=x[54]+':payment'
r.wxVkey=b
gg.f=$gdc(f_["./components/tabbar/tabbar.wxml"],"",1)
if(p_[b]){_wl(b,x[54]);return}
p_[b]=true
try{
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
d_[x[54]]["focus"]=function(e,s,r,gg){
var z=gz$gwx_43()
var b=x[54]+':focus'
r.wxVkey=b
gg.f=$gdc(f_["./components/tabbar/tabbar.wxml"],"",1)
if(p_[b]){_wl(b,x[54]);return}
p_[b]=true
try{
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
d_[x[54]]["classify"]=function(e,s,r,gg){
var z=gz$gwx_43()
var b=x[54]+':classify'
r.wxVkey=b
gg.f=$gdc(f_["./components/tabbar/tabbar.wxml"],"",1)
if(p_[b]){_wl(b,x[54]);return}
p_[b]=true
try{
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m42=function(e,s,r,gg){
var z=gz$gwx_43()
var fID=_v()
_(r,fID)
if(_oz(z,8,e,s,gg)){fID.wxVkey=1
var cJD=_n('view')
_rz(z,cJD,'class',9,e,s,gg)
var hKD=_v()
_(cJD,hKD)
if(_oz(z,10,e,s,gg)){hKD.wxVkey=1
}
else{hKD.wxVkey=2
var oLD=_v()
_(hKD,oLD)
var cMD=function(lOD,oND,aPD,gg){
var eRD=_v()
_(aPD,eRD)
var bSD=_oz(z,15,lOD,oND,gg)
var oTD=_gd(x[54],bSD,e_,d_)
if(oTD){
var xUD=_1z(z,14,lOD,oND,gg) || {}
var cur_globalf=gg.f
eRD.wxXCkey=3
oTD(xUD,xUD,eRD,gg)
gg.f=cur_globalf
}
else _w(bSD,x[54],141,22)
return aPD
}
oLD.wxXCkey=2
_2z(z,12,cMD,e,s,gg,oLD,'item','index','index')
}
hKD.wxXCkey=1
_(fID,cJD)
}
fID.wxXCkey=1
return r
}
e_[x[54]]={f:m42,j:[],i:[],ti:[],ic:[]}
d_[x[55]]={}
var m43=function(e,s,r,gg){
var z=gz$gwx_44()
var fWD=_v()
_(r,fWD)
if(_oz(z,0,e,s,gg)){fWD.wxVkey=1
}
fWD.wxXCkey=1
return r
}
e_[x[55]]={f:m43,j:[],i:[],ti:[],ic:[]}
d_[x[56]]={}
var m44=function(e,s,r,gg){
var z=gz$gwx_45()
var hYD=_v()
_(r,hYD)
if(_oz(z,0,e,s,gg)){hYD.wxVkey=1
}
hYD.wxXCkey=1
return r
}
e_[x[56]]={f:m44,j:[],i:[],ti:[],ic:[]}
d_[x[57]]={}
var m45=function(e,s,r,gg){
var z=gz$gwx_46()
var c1D=e_[x[57]].i
_ai(c1D,x[58],e_,x[57],1,1)
var o2D=_mz(z,'view',['bindtouchend',0,'bindtouchmove',1,'bindtouchstart',1,'class',2,'hidden',3],[],e,s,gg)
var l3D=_v()
_(o2D,l3D)
var a4D=_oz(z,6,e,s,gg)
var t5D=_gd(x[57],a4D,e_,d_)
if(t5D){
var e6D=_1z(z,5,e,s,gg) || {}
var cur_globalf=gg.f
l3D.wxXCkey=3
t5D(e6D,e6D,l3D,gg)
gg.f=cur_globalf
}
else _w(a4D,x[57],4,16)
_(r,o2D)
c1D.pop()
return r
}
e_[x[57]]={f:m45,j:[],i:[],ti:[x[58]],ic:[]}
d_[x[59]]={}
d_[x[59]]["we-cropper"]=function(e,s,r,gg){
var z=gz$gwx_47()
var b=x[59]+':we-cropper'
r.wxVkey=b
gg.f=$gdc(f_["./components/we-cropper/we-cropper/we-cropper.wxml"],"",1)
if(p_[b]){_wl(b,x[59]);return}
p_[b]=true
try{
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m46=function(e,s,r,gg){
var z=gz$gwx_47()
return r
}
e_[x[59]]={f:m46,j:[],i:[],ti:[],ic:[]}
d_[x[60]]={}
var m47=function(e,s,r,gg){
var z=gz$gwx_48()
var x9D=_v()
_(r,x9D)
if(_oz(z,0,e,s,gg)){x9D.wxVkey=1
var o0D=_mz(z,'withinmsg',['bindfail',1,'className',1,'uid',2],[],e,s,gg)
_(x9D,o0D)
}
x9D.wxXCkey=1
x9D.wxXCkey=3
return r
}
e_[x[60]]={f:m47,j:[],i:[],ti:[],ic:[]}
d_[x[61]]={}
d_[x[61]]["site-item"]=function(e,s,r,gg){
var z=gz$gwx_49()
var b=x[61]+':site-item'
r.wxVkey=b
gg.f=$gdc(f_["./pages/index/index.wxml"],"",1)
if(p_[b]){_wl(b,x[61]);return}
p_[b]=true
try{
var oB=_v()
_(r,oB)
if(_oz(z,2,e,s,gg)){oB.wxVkey=1
}
oB.wxXCkey=1
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m48=function(e,s,r,gg){
var z=gz$gwx_49()
var hCE=_n('login-modal')
_rz(z,hCE,'isShown',0,e,s,gg)
_(r,hCE)
var cBE=_v()
_(r,cBE)
if(_oz(z,3,e,s,gg)){cBE.wxVkey=1
var oDE=_v()
_(cBE,oDE)
if(_oz(z,4,e,s,gg)){oDE.wxVkey=1
}
else{oDE.wxVkey=2
var oFE=_v()
_(oDE,oFE)
if(_oz(z,5,e,s,gg)){oFE.wxVkey=1
var lGE=_v()
_(oFE,lGE)
var aHE=function(eJE,tIE,bKE,gg){
var xME=_v()
_(bKE,xME)
var oNE=_oz(z,9,eJE,tIE,gg)
var fOE=_gd(x[61],oNE,e_,d_)
if(fOE){
var cPE=_1z(z,8,eJE,tIE,gg) || {}
var cur_globalf=gg.f
xME.wxXCkey=3
fOE(cPE,cPE,xME,gg)
gg.f=cur_globalf
}
else _w(oNE,x[61],60,24)
return bKE
}
lGE.wxXCkey=2
_2z(z,6,aHE,e,s,gg,lGE,'item','index','{{ index }}')
}
oFE.wxXCkey=1
}
var cEE=_v()
_(cBE,cEE)
if(_oz(z,10,e,s,gg)){cEE.wxVkey=1
var hQE=_v()
_(cEE,hQE)
var oRE=function(oTE,cSE,lUE,gg){
var tWE=_v()
_(lUE,tWE)
var eXE=_oz(z,14,oTE,cSE,gg)
var bYE=_gd(x[61],eXE,e_,d_)
if(bYE){
var oZE=_1z(z,13,oTE,cSE,gg) || {}
var cur_globalf=gg.f
tWE.wxXCkey=3
bYE(oZE,oZE,tWE,gg)
gg.f=cur_globalf
}
else _w(eXE,x[61],71,22)
return lUE
}
hQE.wxXCkey=2
_2z(z,11,oRE,e,s,gg,hQE,'item','index','{{ index }}')
}
var x1E=_mz(z,'list-nomore-tip',['isShown',15,'tip',1],[],e,s,gg)
_(cBE,x1E)
oDE.wxXCkey=1
cEE.wxXCkey=1
}
var o2E=_n('loading-tip')
_rz(z,o2E,'isShown',17,e,s,gg)
_(r,o2E)
cBE.wxXCkey=1
cBE.wxXCkey=3
return r
}
e_[x[61]]={f:m48,j:[],i:[],ti:[],ic:[]}
d_[x[62]]={}
var m49=function(e,s,r,gg){
var z=gz$gwx_50()
var c4E=_v()
_(r,c4E)
var h5E=function(c7E,o6E,o8E,gg){
var a0E=_mz(z,'view',['bindtap',2,'class',1,'data-version',2],[],c7E,o6E,gg)
var tAF=_v()
_(a0E,tAF)
if(_oz(z,5,c7E,o6E,gg)){tAF.wxVkey=1
}
tAF.wxXCkey=1
_(o8E,a0E)
return o8E
}
c4E.wxXCkey=2
_2z(z,0,h5E,e,s,gg,c4E,'item','index','{{ item.vid }}')
return r
}
e_[x[62]]={f:m49,j:[],i:[],ti:[],ic:[]}
d_[x[63]]={}
var m50=function(e,s,r,gg){
var z=gz$gwx_51()
var bCF=_n('login-modal')
_rz(z,bCF,'isShown',0,e,s,gg)
_(r,bCF)
var oDF=_n('view')
_rz(z,oDF,'class',1,e,s,gg)
var xEF=_v()
_(oDF,xEF)
if(_oz(z,2,e,s,gg)){xEF.wxVkey=1
}
var oFF=_v()
_(oDF,oFF)
if(_oz(z,3,e,s,gg)){oFF.wxVkey=1
var fGF=_v()
_(oFF,fGF)
if(_oz(z,4,e,s,gg)){fGF.wxVkey=1
}
fGF.wxXCkey=1
}
xEF.wxXCkey=1
oFF.wxXCkey=1
_(r,oDF)
var cHF=_mz(z,'authorize-mobile',['bindverifysuccess',5,'isShown',1],[],e,s,gg)
_(r,cHF)
return r
}
e_[x[63]]={f:m50,j:[],i:[],ti:[],ic:[]}
d_[x[64]]={}
var m51=function(e,s,r,gg){
var z=gz$gwx_52()
var oJF=_v()
_(r,oJF)
if(_oz(z,0,e,s,gg)){oJF.wxVkey=1
var aNF=_n('view')
_rz(z,aNF,'style',1,e,s,gg)
var tOF=_v()
_(aNF,tOF)
if(_oz(z,2,e,s,gg)){tOF.wxVkey=1
var oRF=_v()
_(tOF,oRF)
if(_oz(z,3,e,s,gg)){oRF.wxVkey=1
var oTF=_v()
_(oRF,oTF)
if(_oz(z,4,e,s,gg)){oTF.wxVkey=1
}
oTF.wxXCkey=1
}
else{oRF.wxVkey=2
}
var xSF=_v()
_(tOF,xSF)
if(_oz(z,5,e,s,gg)){xSF.wxVkey=1
}
oRF.wxXCkey=1
xSF.wxXCkey=1
}
var ePF=_v()
_(aNF,ePF)
if(_oz(z,6,e,s,gg)){ePF.wxVkey=1
}
var bQF=_v()
_(aNF,bQF)
if(_oz(z,7,e,s,gg)){bQF.wxVkey=1
}
tOF.wxXCkey=1
ePF.wxXCkey=1
bQF.wxXCkey=1
_(oJF,aNF)
}
var cKF=_v()
_(r,cKF)
if(_oz(z,8,e,s,gg)){cKF.wxVkey=1
var fUF=_n('view')
_rz(z,fUF,'class',9,e,s,gg)
var cVF=_mz(z,'view',['bindtap',10,'class',1,'data-type',2,'hoverClass',3],[],e,s,gg)
var hWF=_v()
_(cVF,hWF)
if(_oz(z,14,e,s,gg)){hWF.wxVkey=1
}
hWF.wxXCkey=1
_(fUF,cVF)
var oXF=_mz(z,'view',['bindtap',15,'class',1,'data-type',2,'hoverClass',3],[],e,s,gg)
var cYF=_v()
_(oXF,cYF)
if(_oz(z,19,e,s,gg)){cYF.wxVkey=1
}
cYF.wxXCkey=1
_(fUF,oXF)
_(cKF,fUF)
}
var oLF=_v()
_(r,oLF)
if(_oz(z,20,e,s,gg)){oLF.wxVkey=1
var oZF=_n('view')
_rz(z,oZF,'class',21,e,s,gg)
var l1F=_mz(z,'view',['bindtap',22,'class',1,'data-type',2,'hoverClass',3],[],e,s,gg)
var a2F=_v()
_(l1F,a2F)
if(_oz(z,26,e,s,gg)){a2F.wxVkey=1
}
a2F.wxXCkey=1
_(oZF,l1F)
var t3F=_mz(z,'view',['bindtap',27,'class',1,'data-type',2,'hoverClass',3],[],e,s,gg)
var e4F=_v()
_(t3F,e4F)
if(_oz(z,31,e,s,gg)){e4F.wxVkey=1
}
e4F.wxXCkey=1
_(oZF,t3F)
_(oLF,oZF)
}
var b5F=_n('view')
_rz(z,b5F,'class',32,e,s,gg)
var o6F=_v()
_(b5F,o6F)
if(_oz(z,33,e,s,gg)){o6F.wxVkey=1
}
var x7F=_v()
_(b5F,x7F)
if(_oz(z,34,e,s,gg)){x7F.wxVkey=1
}
var o8F=_v()
_(b5F,o8F)
if(_oz(z,35,e,s,gg)){o8F.wxVkey=1
}
o6F.wxXCkey=1
x7F.wxXCkey=1
o8F.wxXCkey=1
_(r,b5F)
var lMF=_v()
_(r,lMF)
if(_oz(z,36,e,s,gg)){lMF.wxVkey=1
var f9F=_mz(z,'view',['bindtap',37,'class',1,'hoverClass',2],[],e,s,gg)
var c0F=_v()
_(f9F,c0F)
if(_oz(z,40,e,s,gg)){c0F.wxVkey=1
}
c0F.wxXCkey=1
_(lMF,f9F)
}
var hAG=_n('view')
_rz(z,hAG,'class',41,e,s,gg)
var oBG=_v()
_(hAG,oBG)
if(_oz(z,42,e,s,gg)){oBG.wxVkey=1
}
var cCG=_v()
_(hAG,cCG)
if(_oz(z,43,e,s,gg)){cCG.wxVkey=1
}
var oDG=_v()
_(hAG,oDG)
if(_oz(z,44,e,s,gg)){oDG.wxVkey=1
}
oBG.wxXCkey=1
cCG.wxXCkey=1
oDG.wxXCkey=1
_(r,hAG)
var lEG=_n('view')
_rz(z,lEG,'class',45,e,s,gg)
var aFG=_v()
_(lEG,aFG)
if(_oz(z,46,e,s,gg)){aFG.wxVkey=1
}
var tGG=_v()
_(lEG,tGG)
if(_oz(z,47,e,s,gg)){tGG.wxVkey=1
}
aFG.wxXCkey=1
tGG.wxXCkey=1
_(r,lEG)
var eHG=_mz(z,'tabbar',['mode',48,'sidebarReady',1],[],e,s,gg)
_(r,eHG)
var bIG=_n('login-modal')
_rz(z,bIG,'isShown',50,e,s,gg)
_(r,bIG)
var oJG=_mz(z,'authorize-mobile',['bindverifysuccess',51,'isShown',1],[],e,s,gg)
_(r,oJG)
oJF.wxXCkey=1
cKF.wxXCkey=1
oLF.wxXCkey=1
lMF.wxXCkey=1
return r
}
e_[x[64]]={f:m51,j:[],i:[],ti:[],ic:[]}
d_[x[65]]={}
d_[x[65]]["order-content"]=function(e,s,r,gg){
var z=gz$gwx_53()
var b=x[65]+':order-content'
r.wxVkey=b
gg.f=$gdc(f_["./pages/template/order-content/order-content.wxml"],"",1)
if(p_[b]){_wl(b,x[65]);return}
p_[b]=true
try{
var oB=_mz(z,'view',['catchtap',1,'class',1,'data-catid',2,'data-cid',3,'data-id',4,'data-index',5,'data-name',6,'data-navid',7,'data-sid',8],[],e,s,gg)
var xC=_n('view')
_rz(z,xC,'class',10,e,s,gg)
var oD=_v()
_(xC,oD)
if(_oz(z,11,e,s,gg)){oD.wxVkey=1
}
var fE=_v()
_(xC,fE)
if(_oz(z,12,e,s,gg)){fE.wxVkey=1
}
oD.wxXCkey=1
fE.wxXCkey=1
_(oB,xC)
_(r,oB)
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m52=function(e,s,r,gg){
var z=gz$gwx_53()
return r
}
e_[x[65]]={f:m52,j:[],i:[],ti:[],ic:[]}
d_[x[66]]={}
d_[x[66]]["order-detail"]=function(e,s,r,gg){
var z=gz$gwx_54()
var b=x[66]+':order-detail'
r.wxVkey=b
gg.f=$gdc(f_["./pages/template/order-detail/order-detail.wxml"],"",1)
if(p_[b]){_wl(b,x[66]);return}
p_[b]=true
try{
var oB=_n('view')
_rz(z,oB,'class',1,e,s,gg)
var xC=_n('view')
_rz(z,xC,'class',2,e,s,gg)
var fE=_v()
_(xC,fE)
var cF=function(oH,hG,cI,gg){
var lK=_v()
_(cI,lK)
var aL=_oz(z,8,oH,hG,gg)
var tM=_gd(x[66],aL,e_,d_)
if(tM){
var eN=_1z(z,7,oH,hG,gg) || {}
var cur_globalf=gg.f
lK.wxXCkey=3
tM(eN,eN,lK,gg)
gg.f=cur_globalf
}
else _w(aL,x[66],36,22)
return cI
}
fE.wxXCkey=2
_2z(z,5,cF,e,s,gg,fE,'product','idx','cid')
var oD=_v()
_(xC,oD)
if(_oz(z,9,e,s,gg)){oD.wxVkey=1
var bO=_v()
_(oD,bO)
var oP=_oz(z,11,e,s,gg)
var xQ=_gd(x[66],oP,e_,d_)
if(xQ){
var oR=_1z(z,10,e,s,gg) || {}
var cur_globalf=gg.f
bO.wxXCkey=3
xQ(oR,oR,bO,gg)
gg.f=cur_globalf
}
else _w(oP,x[66],40,24)
}
oD.wxXCkey=1
_(oB,xC)
var fS=_v()
_(oB,fS)
var cT=_oz(z,13,e,s,gg)
var hU=_gd(x[66],cT,e_,d_)
if(hU){
var oV=_1z(z,12,e,s,gg) || {}
var cur_globalf=gg.f
fS.wxXCkey=3
hU(oV,oV,fS,gg)
gg.f=cur_globalf
}
else _w(cT,x[66],49,20)
_(r,oB)
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
d_[x[66]]["refund-progress"]=function(e,s,r,gg){
var z=gz$gwx_54()
var b=x[66]+':refund-progress'
r.wxVkey=b
gg.f=$gdc(f_["./pages/template/order-detail/order-detail.wxml"],"",1)
if(p_[b]){_wl(b,x[66]);return}
p_[b]=true
try{
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m53=function(e,s,r,gg){
var z=gz$gwx_54()
var fMG=e_[x[66]].i
_ai(fMG,x[67],e_,x[66],1,1)
_ai(fMG,x[68],e_,x[66],2,2)
fMG.pop()
fMG.pop()
return r
}
e_[x[66]]={f:m53,j:[],i:[],ti:[x[67],x[68]],ic:[]}
d_[x[69]]={}
var m54=function(e,s,r,gg){
var z=gz$gwx_55()
var cQG=_n('login-modal')
_rz(z,cQG,'isShown',0,e,s,gg)
_(r,cQG)
var hOG=_v()
_(r,hOG)
if(_oz(z,1,e,s,gg)){hOG.wxVkey=1
var oRG=_n('view')
_rz(z,oRG,'class',2,e,s,gg)
var aTG=_v()
_(oRG,aTG)
var tUG=function(bWG,eVG,oXG,gg){
var oZG=_v()
_(oXG,oZG)
if(_oz(z,5,bWG,eVG,gg)){oZG.wxVkey=1
var f1G=_mz(z,'view',['bindtap',6,'class',1,'data-sid',2,'hoverClass',3],[],bWG,eVG,gg)
var c2G=_v()
_(f1G,c2G)
if(_oz(z,10,bWG,eVG,gg)){c2G.wxVkey=1
}
c2G.wxXCkey=1
_(oZG,f1G)
}
oZG.wxXCkey=1
return oXG
}
aTG.wxXCkey=2
_2z(z,3,tUG,e,s,gg,aTG,'item','index','{{ item.sid }}')
var lSG=_v()
_(oRG,lSG)
if(_oz(z,11,e,s,gg)){lSG.wxVkey=1
}
lSG.wxXCkey=1
_(hOG,oRG)
}
else{hOG.wxVkey=2
}
var oPG=_v()
_(r,oPG)
if(_oz(z,12,e,s,gg)){oPG.wxVkey=1
var h3G=_n('view')
_rz(z,h3G,'class',13,e,s,gg)
var c5G=_v()
_(h3G,c5G)
var o6G=function(a8G,l7G,t9G,gg){
var bAH=_v()
_(t9G,bAH)
if(_oz(z,16,a8G,l7G,gg)){bAH.wxVkey=1
}
bAH.wxXCkey=1
return t9G
}
c5G.wxXCkey=2
_2z(z,14,o6G,e,s,gg,c5G,'item','index','{{ item.sid }}')
var o4G=_v()
_(h3G,o4G)
if(_oz(z,17,e,s,gg)){o4G.wxVkey=1
}
o4G.wxXCkey=1
_(oPG,h3G)
}
var oBH=_mz(z,'list-nomore-tip',['isShown',18,'tip',1],[],e,s,gg)
_(r,oBH)
hOG.wxXCkey=1
oPG.wxXCkey=1
return r
}
e_[x[69]]={f:m54,j:[],i:[],ti:[],ic:[]}
d_[x[70]]={}
var m55=function(e,s,r,gg){
var z=gz$gwx_56()
var oDH=_v()
_(r,oDH)
var fEH=function(hGH,cFH,oHH,gg){
var oJH=_mz(z,'view',['catchtap',4,'class',1,'data-isoping',2,'data-sid',3],[],hGH,cFH,gg)
var lKH=_mz(z,'view',['bindtouchend',8,'bindtouchmove',1,'bindtouchstart',2,'class',3,'data-index',4,'style',5],[],hGH,cFH,gg)
var aLH=_v()
_(lKH,aLH)
if(_oz(z,14,hGH,cFH,gg)){aLH.wxVkey=1
}
aLH.wxXCkey=1
_(oJH,lKH)
_(oHH,oJH)
return oHH
}
oDH.wxXCkey=2
_2z(z,2,fEH,e,s,gg,oDH,'site','idx','sid')
var tMH=_mz(z,'list-nomore-tip',['isShown',15,'tip',1],[],e,s,gg)
_(r,tMH)
return r
}
e_[x[70]]={f:m55,j:[],i:[],ti:[],ic:[]}
d_[x[71]]={}
var m56=function(e,s,r,gg){
var z=gz$gwx_57()
var bOH=_v()
_(r,bOH)
if(_oz(z,0,e,s,gg)){bOH.wxVkey=1
var xQH=_v()
_(bOH,xQH)
if(_oz(z,1,e,s,gg)){xQH.wxVkey=1
}
xQH.wxXCkey=1
}
var oPH=_v()
_(r,oPH)
if(_oz(z,2,e,s,gg)){oPH.wxVkey=1
}
bOH.wxXCkey=1
oPH.wxXCkey=1
return r
}
e_[x[71]]={f:m56,j:[],i:[],ti:[],ic:[]}
d_[x[72]]={}
var m57=function(e,s,r,gg){
var z=gz$gwx_58()
var fSH=e_[x[72]].i
_ai(fSH,x[73],e_,x[72],1,1)
_ai(fSH,x[74],e_,x[72],2,2)
var cTH=_mz(z,'expire-modal',['expiretime',0,'isExpireModalShown',1,'name',1,'sid',2],[],e,s,gg)
_(r,cTH)
var hUH=_n('version-info')
_rz(z,hUH,'app',4,e,s,gg)
_(r,hUH)
var oVH=_n('login-modal')
_rz(z,oVH,'isShown',5,e,s,gg)
_(r,oVH)
var cWH=_n('collectform')
var oXH=_v()
_(cWH,oXH)
if(_oz(z,6,e,s,gg)){oXH.wxVkey=1
var lYH=_n('view')
_rz(z,lYH,'class',7,e,s,gg)
var t1H=_mz(z,'tabbar',['mode',8,'sidebarReady',1],[],e,s,gg)
_(lYH,t1H)
var e2H=_mz(z,'navigation-bar',['bindsite:focus',10,'mode',1,'navigation',2],[],e,s,gg)
_(lYH,e2H)
var b3H=_n('loading-tip')
_rz(z,b3H,'isShown',13,e,s,gg)
_(lYH,b3H)
var o4H=_n('view')
_rz(z,o4H,'class',14,e,s,gg)
var x5H=_v()
_(o4H,x5H)
if(_oz(z,15,e,s,gg)){x5H.wxVkey=1
var c8H=_v()
_(x5H,c8H)
var h9H=_oz(z,17,e,s,gg)
var o0H=_gd(x[72],h9H,e_,d_)
if(o0H){
var cAI=_1z(z,16,e,s,gg) || {}
var cur_globalf=gg.f
c8H.wxXCkey=3
o0H(cAI,cAI,c8H,gg)
gg.f=cur_globalf
}
else _w(h9H,x[72],18,20)
}
var o6H=_v()
_(o4H,o6H)
if(_oz(z,18,e,s,gg)){o6H.wxVkey=1
var oBI=_v()
_(o6H,oBI)
var lCI=_oz(z,20,e,s,gg)
var aDI=_gd(x[72],lCI,e_,d_)
if(aDI){
var tEI=_1z(z,19,e,s,gg) || {}
var cur_globalf=gg.f
oBI.wxXCkey=3
aDI(tEI,tEI,oBI,gg)
gg.f=cur_globalf
}
else _w(lCI,x[72],19,20)
}
var f7H=_v()
_(o4H,f7H)
if(_oz(z,21,e,s,gg)){f7H.wxVkey=1
var eFI=_n('content-empty-tip')
_rz(z,eFI,'tip',22,e,s,gg)
_(f7H,eFI)
}
x5H.wxXCkey=1
o6H.wxXCkey=1
f7H.wxXCkey=1
f7H.wxXCkey=3
_(lYH,o4H)
var bGI=_mz(z,'copyright',['agentapp',23,'agentid',1,'isInitbar',2,'isShown',3],[],e,s,gg)
_(lYH,bGI)
var oHI=_mz(z,'share-set',['cssIsEditable',27,'cssIsOnlyShare',1,'cssIsSidebarShow',2,'initData',3,'isSharePluginShow',4,'mode',5],[],e,s,gg)
_(lYH,oHI)
var xII=_mz(z,'manage-set',['app',33,'bindupdatestatus',1,'expiretime',2,'isEditable',3,'isFromList',4,'isTabInit',5,'mode',6,'sid',7],[],e,s,gg)
_(lYH,xII)
var oJI=_n('shoppingcart')
_rz(z,oJI,'initdata',41,e,s,gg)
_(lYH,oJI)
var fKI=_mz(z,'withinmsg',['isShown',42,'site',1,'styleConfig',2],[],e,s,gg)
_(lYH,fKI)
var aZH=_v()
_(lYH,aZH)
if(_oz(z,45,e,s,gg)){aZH.wxVkey=1
}
var cLI=_n('back-site')
_rz(z,cLI,'mode',46,e,s,gg)
_(lYH,cLI)
aZH.wxXCkey=1
_(oXH,lYH)
}
else{oXH.wxVkey=2
var hMI=_n('site-deleted-tip')
_rz(z,hMI,'app',47,e,s,gg)
_(oXH,hMI)
}
oXH.wxXCkey=1
oXH.wxXCkey=3
oXH.wxXCkey=3
_(r,cWH)
fSH.pop()
fSH.pop()
return r
}
e_[x[72]]={f:m57,j:[],i:[],ti:[x[73],x[74]],ic:[]}
d_[x[75]]={}
var m58=function(e,s,r,gg){
var z=gz$gwx_59()
return r
}
e_[x[75]]={f:m58,j:[],i:[],ti:[],ic:[]}
d_[x[76]]={}
d_[x[76]]["user"]=function(e,s,r,gg){
var z=gz$gwx_60()
var b=x[76]+':user'
r.wxVkey=b
gg.f=$gdc(f_["./public/components/card-create-form/card-create-form.wxml"],"",1)
if(p_[b]){_wl(b,x[76]);return}
p_[b]=true
try{
var oB=_v()
_(r,oB)
if(_oz(z,1,e,s,gg)){oB.wxVkey=1
var xC=_v()
_(oB,xC)
var oD=_oz(z,3,e,s,gg)
var fE=_gd(x[76],oD,e_,d_)
if(fE){
var cF=_1z(z,2,e,s,gg) || {}
var cur_globalf=gg.f
xC.wxXCkey=3
fE(cF,cF,xC,gg)
gg.f=cur_globalf
}
else _w(oD,x[76],4,18)
var hG=_v()
_(oB,hG)
var oH=_oz(z,5,e,s,gg)
var cI=_gd(x[76],oH,e_,d_)
if(cI){
var oJ=_1z(z,4,e,s,gg) || {}
var cur_globalf=gg.f
hG.wxXCkey=3
cI(oJ,oJ,hG,gg)
gg.f=cur_globalf
}
else _w(oH,x[76],5,18)
}
else{oB.wxVkey=2
var lK=_n('view')
_rz(z,lK,'class',6,e,s,gg)
var aL=_v()
_(lK,aL)
var tM=_oz(z,8,e,s,gg)
var eN=_gd(x[76],tM,e_,d_)
if(eN){
var bO=_1z(z,7,e,s,gg) || {}
var cur_globalf=gg.f
aL.wxXCkey=3
eN(bO,bO,aL,gg)
gg.f=cur_globalf
}
else _w(tM,x[76],11,18)
var oP=_v()
_(lK,oP)
var xQ=_oz(z,10,e,s,gg)
var oR=_gd(x[76],xQ,e_,d_)
if(oR){
var fS=_1z(z,9,e,s,gg) || {}
var cur_globalf=gg.f
oP.wxXCkey=3
oR(fS,fS,oP,gg)
gg.f=cur_globalf
}
else _w(xQ,x[76],12,18)
_(oB,lK)
}
oB.wxXCkey=1
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
d_[x[76]]["mobile"]=function(e,s,r,gg){
var z=gz$gwx_60()
var b=x[76]+':mobile'
r.wxVkey=b
gg.f=$gdc(f_["./public/components/card-create-form/card-create-form.wxml"],"",1)
if(p_[b]){_wl(b,x[76]);return}
p_[b]=true
try{
var oB=_mz(z,'mobile-verify',['appName',12,'bindclear',1,'bindfail',2,'bindinput',3,'class',4,'enabledLabel',5,'enabledMobileGet',6,'id',7,'isShownSendBtn',8,'isVerifyCode',9,'mobile',10],[],e,s,gg)
_(r,oB)
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
d_[x[76]]["remark"]=function(e,s,r,gg){
var z=gz$gwx_60()
var b=x[76]+':remark'
r.wxVkey=b
gg.f=$gdc(f_["./public/components/card-create-form/card-create-form.wxml"],"",1)
if(p_[b]){_wl(b,x[76]);return}
p_[b]=true
try{
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
d_[x[76]]["form-input-item"]=function(e,s,r,gg){
var z=gz$gwx_60()
var b=x[76]+':form-input-item'
r.wxVkey=b
gg.f=$gdc(f_["./public/components/card-create-form/card-create-form.wxml"],"",1)
if(p_[b]){_wl(b,x[76]);return}
p_[b]=true
try{
var oB=_n('view')
_rz(z,oB,'class',66,e,s,gg)
var xC=_v()
_(oB,xC)
if(_oz(z,67,e,s,gg)){xC.wxVkey=1
}
var oD=_mz(z,'input-blocker',['bindinput',68,'cursorSpacing',1,'id',2,'maxLength',3,'name',4,'placeholder',5,'type',6,'value',7],[],e,s,gg)
_(oB,oD)
xC.wxXCkey=1
_(r,oB)
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m59=function(e,s,r,gg){
var z=gz$gwx_60()
var oPI=_v()
_(r,oPI)
var lQI=function(tSI,aRI,eTI,gg){
var oVI=_v()
_(eTI,oVI)
var xWI=function(fYI,oXI,cZI,gg){
var o2I=_v()
_(cZI,o2I)
if(_oz(z,29,fYI,oXI,gg)){o2I.wxVkey=1
var e8I=_v()
_(o2I,e8I)
var b9I=_oz(z,31,fYI,oXI,gg)
var o0I=_gd(x[76],b9I,e_,d_)
if(o0I){
var xAJ=_1z(z,30,fYI,oXI,gg) || {}
var cur_globalf=gg.f
e8I.wxXCkey=3
o0I(xAJ,xAJ,e8I,gg)
gg.f=cur_globalf
}
else _w(b9I,x[76],46,48)
}
var c3I=_v()
_(cZI,c3I)
if(_oz(z,32,fYI,oXI,gg)){c3I.wxVkey=1
var oBJ=_v()
_(c3I,oBJ)
var fCJ=_oz(z,34,fYI,oXI,gg)
var cDJ=_gd(x[76],fCJ,e_,d_)
if(cDJ){
var hEJ=_1z(z,33,fYI,oXI,gg) || {}
var cur_globalf=gg.f
oBJ.wxXCkey=3
cDJ(hEJ,hEJ,oBJ,gg)
gg.f=cur_globalf
}
else _w(fCJ,x[76],47,52)
}
var o4I=_v()
_(cZI,o4I)
if(_oz(z,35,fYI,oXI,gg)){o4I.wxVkey=1
var oFJ=_v()
_(o4I,oFJ)
var cGJ=_oz(z,37,fYI,oXI,gg)
var oHJ=_gd(x[76],cGJ,e_,d_)
if(oHJ){
var lIJ=_1z(z,36,fYI,oXI,gg) || {}
var cur_globalf=gg.f
oFJ.wxXCkey=3
oHJ(lIJ,lIJ,oFJ,gg)
gg.f=cur_globalf
}
else _w(cGJ,x[76],48,52)
}
var l5I=_v()
_(cZI,l5I)
if(_oz(z,38,fYI,oXI,gg)){l5I.wxVkey=1
var aJJ=_v()
_(l5I,aJJ)
var tKJ=_oz(z,40,fYI,oXI,gg)
var eLJ=_gd(x[76],tKJ,e_,d_)
if(eLJ){
var bMJ=_1z(z,39,fYI,oXI,gg) || {}
var cur_globalf=gg.f
aJJ.wxXCkey=3
eLJ(bMJ,bMJ,aJJ,gg)
gg.f=cur_globalf
}
else _w(tKJ,x[76],49,49)
}
var a6I=_v()
_(cZI,a6I)
if(_oz(z,41,fYI,oXI,gg)){a6I.wxVkey=1
var oNJ=_v()
_(a6I,oNJ)
var xOJ=_oz(z,43,fYI,oXI,gg)
var oPJ=_gd(x[76],xOJ,e_,d_)
if(oPJ){
var fQJ=_1z(z,42,fYI,oXI,gg) || {}
var cur_globalf=gg.f
oNJ.wxXCkey=3
oPJ(fQJ,fQJ,oNJ,gg)
gg.f=cur_globalf
}
else _w(xOJ,x[76],50,50)
}
var t7I=_v()
_(cZI,t7I)
if(_oz(z,44,fYI,oXI,gg)){t7I.wxVkey=1
var cRJ=_v()
_(t7I,cRJ)
var hSJ=_oz(z,46,fYI,oXI,gg)
var oTJ=_gd(x[76],hSJ,e_,d_)
if(oTJ){
var cUJ=_1z(z,45,fYI,oXI,gg) || {}
var cur_globalf=gg.f
cRJ.wxXCkey=3
oTJ(cUJ,cUJ,cRJ,gg)
gg.f=cur_globalf
}
else _w(hSJ,x[76],51,50)
}
o2I.wxXCkey=1
c3I.wxXCkey=1
o4I.wxXCkey=1
l5I.wxXCkey=1
a6I.wxXCkey=1
t7I.wxXCkey=1
return cZI
}
oVI.wxXCkey=2
_2z(z,27,xWI,tSI,aRI,gg,oVI,'item','index','a')
return eTI
}
oPI.wxXCkey=2
_2z(z,25,lQI,e,s,gg,oPI,'fieldArr','index','field')
var oVJ=_mz(z,'search-list',['bindselect',47,'bindshow',1,'direction',2,'markstyle',3,'name',4,'value',5],[],e,s,gg)
_(r,oVJ)
var lWJ=_mz(z,'search-list',['bindselect',53,'bindshow',1,'direction',2,'markstyle',3,'name',4,'value',5],[],e,s,gg)
_(r,lWJ)
var aXJ=_mz(z,'search-list',['bindselect',59,'bindshow',1,'direction',2,'markstyle',3,'name',4,'value',5],[],e,s,gg)
_(r,aXJ)
return r
}
e_[x[76]]={f:m59,j:[],i:[],ti:[],ic:[]}
d_[x[77]]={}
var m60=function(e,s,r,gg){
var z=gz$gwx_61()
var eZJ=_v()
_(r,eZJ)
if(_oz(z,0,e,s,gg)){eZJ.wxVkey=1
}
var b1J=_mz(z,'form',['bindsubmit',1,'reportSubmit',1],[],e,s,gg)
var o2J=_mz(z,'card-create-form',['bindfail',3,'bindinput',1,'data',2,'id',3,'remarkHint',4,'type',5],[],e,s,gg)
_(b1J,o2J)
_(r,b1J)
eZJ.wxXCkey=1
return r
}
e_[x[77]]={f:m60,j:[],i:[],ti:[],ic:[]}
d_[x[78]]={}
var m61=function(e,s,r,gg){
var z=gz$gwx_62()
var o4J=_mz(z,'camera',['binderror',0,'class',1,'devicePosition',1,'flash',2],[],e,s,gg)
var f5J=_n('cover-view')
_rz(z,f5J,'class',4,e,s,gg)
var c6J=_v()
_(f5J,c6J)
if(_oz(z,5,e,s,gg)){c6J.wxVkey=1
}
var h7J=_v()
_(f5J,h7J)
if(_oz(z,6,e,s,gg)){h7J.wxVkey=1
}
var o8J=_v()
_(f5J,o8J)
if(_oz(z,7,e,s,gg)){o8J.wxVkey=1
}
c6J.wxXCkey=1
h7J.wxXCkey=1
o8J.wxXCkey=1
_(o4J,f5J)
_(r,o4J)
return r
}
e_[x[78]]={f:m61,j:[],i:[],ti:[],ic:[]}
d_[x[79]]={}
d_[x[79]]["dialog"]=function(e,s,r,gg){
var z=gz$gwx_63()
var b=x[79]+':dialog'
r.wxVkey=b
gg.f=$gdc(f_["./public/components/dialog/dialog.wxml"],"",1)
if(p_[b]){_wl(b,x[79]);return}
p_[b]=true
try{
var oB=_v()
_(r,oB)
if(_oz(z,1,e,s,gg)){oB.wxVkey=1
}
oB.wxXCkey=1
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m62=function(e,s,r,gg){
var z=gz$gwx_63()
return r
}
e_[x[79]]={f:m62,j:[],i:[],ti:[],ic:[]}
d_[x[80]]={}
d_[x[80]]["image-upload"]=function(e,s,r,gg){
var z=gz$gwx_64()
var b=x[80]+':image-upload'
r.wxVkey=b
gg.f=$gdc(f_["./public/components/imageupload/imageupload.wxml"],"",1)
if(p_[b]){_wl(b,x[80]);return}
p_[b]=true
try{
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m63=function(e,s,r,gg){
var z=gz$gwx_64()
return r
}
e_[x[80]]={f:m63,j:[],i:[],ti:[],ic:[]}
d_[x[81]]={}
var m64=function(e,s,r,gg){
var z=gz$gwx_65()
return r
}
e_[x[81]]={f:m64,j:[],i:[],ti:[],ic:[]}
d_[x[82]]={}
d_[x[82]]["input-clear-btn"]=function(e,s,r,gg){
var z=gz$gwx_66()
var b=x[82]+':input-clear-btn'
r.wxVkey=b
gg.f=$gdc(f_["./public/components/input-clear-btn/input-clear-btn.wxml"],"",1)
if(p_[b]){_wl(b,x[82]);return}
p_[b]=true
try{
var oB=_v()
_(r,oB)
if(_oz(z,1,e,s,gg)){oB.wxVkey=1
}
oB.wxXCkey=1
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m65=function(e,s,r,gg){
var z=gz$gwx_66()
return r
}
e_[x[82]]={f:m65,j:[],i:[],ti:[],ic:[]}
d_[x[83]]={}
d_[x[83]]["mobile-validator"]=function(e,s,r,gg){
var z=gz$gwx_67()
var b=x[83]+':mobile-validator'
r.wxVkey=b
gg.f=$gdc(f_["./public/components/mobile-validator/mobile-validator.wxml"],"",1)
if(p_[b]){_wl(b,x[83]);return}
p_[b]=true
try{
var oB=_v()
_(r,oB)
if(_oz(z,1,e,s,gg)){oB.wxVkey=1
}
oB.wxXCkey=1
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m66=function(e,s,r,gg){
var z=gz$gwx_67()
return r
}
e_[x[83]]={f:m66,j:[],i:[],ti:[],ic:[]}
d_[x[84]]={}
var m67=function(e,s,r,gg){
var z=gz$gwx_68()
var oFK=_n('view')
_rz(z,oFK,'class',0,e,s,gg)
var xGK=_v()
_(oFK,xGK)
if(_oz(z,1,e,s,gg)){xGK.wxVkey=1
}
var fIK=_mz(z,'input-blocker',['bindinput',2,'class',1,'maxLength',2,'name',3,'placeholder',4,'type',5,'value',6],[],e,s,gg)
_(oFK,fIK)
var oHK=_v()
_(oFK,oHK)
if(_oz(z,9,e,s,gg)){oHK.wxVkey=1
var cJK=_n('view')
_rz(z,cJK,'class',10,e,s,gg)
var hKK=_v()
_(cJK,hKK)
if(_oz(z,11,e,s,gg)){hKK.wxVkey=1
}
else if(_oz(z,12,e,s,gg)){hKK.wxVkey=2
var oLK=_n('slot')
_rz(z,oLK,'name',13,e,s,gg)
_(hKK,oLK)
}
else{hKK.wxVkey=3
}
hKK.wxXCkey=1
_(oHK,cJK)
}
xGK.wxXCkey=1
oHK.wxXCkey=1
_(r,oFK)
var bEK=_v()
_(r,bEK)
if(_oz(z,14,e,s,gg)){bEK.wxVkey=1
var cMK=_mz(z,'input-blocker',['bindinput',15,'maxLength',1,'name',2,'placeholder',3,'type',4,'value',5],[],e,s,gg)
_(bEK,cMK)
}
bEK.wxXCkey=1
bEK.wxXCkey=3
return r
}
e_[x[84]]={f:m67,j:[],i:[],ti:[],ic:[]}
d_[x[85]]={}
d_[x[85]]["modalview"]=function(e,s,r,gg){
var z=gz$gwx_69()
var b=x[85]+':modalview'
r.wxVkey=b
gg.f=$gdc(f_["./public/components/modalview/modalview.wxml"],"",1)
if(p_[b]){_wl(b,x[85]);return}
p_[b]=true
try{
var oB=_v()
_(r,oB)
if(_oz(z,1,e,s,gg)){oB.wxVkey=1
var xC=_n('view')
_rz(z,xC,'class',2,e,s,gg)
var oD=_v()
_(xC,oD)
if(_oz(z,3,e,s,gg)){oD.wxVkey=1
var cF=_n('view')
_rz(z,cF,'class',4,e,s,gg)
var hG=_v()
_(cF,hG)
if(_oz(z,5,e,s,gg)){hG.wxVkey=1
}
var oH=_v()
_(cF,oH)
if(_oz(z,6,e,s,gg)){oH.wxVkey=1
}
hG.wxXCkey=1
oH.wxXCkey=1
_(oD,cF)
}
var fE=_v()
_(xC,fE)
if(_oz(z,7,e,s,gg)){fE.wxVkey=1
var cI=_v()
_(fE,cI)
var oJ=function(aL,lK,tM,gg){
var bO=_v()
_(tM,bO)
if(_oz(z,10,aL,lK,gg)){bO.wxVkey=1
}
var oP=_v()
_(tM,oP)
if(_oz(z,11,aL,lK,gg)){oP.wxVkey=1
}
var xQ=_v()
_(tM,xQ)
if(_oz(z,12,aL,lK,gg)){xQ.wxVkey=1
}
bO.wxXCkey=1
oP.wxXCkey=1
xQ.wxXCkey=1
return tM
}
cI.wxXCkey=2
_2z(z,8,oJ,e,s,gg,cI,'item','index','*this')
}
oD.wxXCkey=1
fE.wxXCkey=1
_(oB,xC)
}
oB.wxXCkey=1
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m68=function(e,s,r,gg){
var z=gz$gwx_69()
return r
}
e_[x[85]]={f:m68,j:[],i:[],ti:[],ic:[]}
d_[x[86]]={}
d_[x[86]]["pages"]=function(e,s,r,gg){
var z=gz$gwx_70()
var b=x[86]+':pages'
r.wxVkey=b
gg.f=$gdc(f_["./public/components/pages/pages.wxml"],"",1)
if(p_[b]){_wl(b,x[86]);return}
p_[b]=true
try{
var oB=_v()
_(r,oB)
if(_oz(z,1,e,s,gg)){oB.wxVkey=1
}
oB.wxXCkey=1
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m69=function(e,s,r,gg){
var z=gz$gwx_70()
return r
}
e_[x[86]]={f:m69,j:[],i:[],ti:[],ic:[]}
d_[x[87]]={}
d_[x[87]]["prompt"]=function(e,s,r,gg){
var z=gz$gwx_71()
var b=x[87]+':prompt'
r.wxVkey=b
gg.f=$gdc(f_["./public/components/prompt/prompt.wxml"],"",1)
if(p_[b]){_wl(b,x[87]);return}
p_[b]=true
try{
var oB=_v()
_(r,oB)
if(_oz(z,1,e,s,gg)){oB.wxVkey=1
}
oB.wxXCkey=1
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m70=function(e,s,r,gg){
var z=gz$gwx_71()
return r
}
e_[x[87]]={f:m70,j:[],i:[],ti:[],ic:[]}
d_[x[88]]={}
var m71=function(e,s,r,gg){
var z=gz$gwx_72()
var eRK=_mz(z,'form',['bindsubmit',0,'class',1,'reportSubmit',1],[],e,s,gg)
var bSK=_v()
_(eRK,bSK)
if(_oz(z,3,e,s,gg)){bSK.wxVkey=1
}
var oTK=_mz(z,'card-create-form',['appName',4,'bindclear',1,'bindinput',2,'data',3,'fields',4,'id',5,'searchOrient',6,'type',7,'validFilds',8],[],e,s,gg)
_(eRK,oTK)
bSK.wxXCkey=1
_(r,eRK)
return r
}
e_[x[88]]={f:m71,j:[],i:[],ti:[],ic:[]}
d_[x[89]]={}
var m72=function(e,s,r,gg){
var z=gz$gwx_73()
var oVK=_v()
_(r,oVK)
if(_oz(z,0,e,s,gg)){oVK.wxVkey=1
var hYK=_mz(z,'form',['reportSubmit',-1,'bindsubmit',1],[],e,s,gg)
var oZK=_v()
_(hYK,oZK)
var c1K=function(l3K,o2K,a4K,gg){
var e6K=_mz(z,'button',['plain',-1,'bindtap',4,'class',1,'data-chatid',2,'data-name',3,'data-uid',4,'data-unreads',5,'formType',6,'hoverClass',7,'id',8],[],l3K,o2K,gg)
var b7K=_v()
_(e6K,b7K)
if(_oz(z,13,l3K,o2K,gg)){b7K.wxVkey=1
}
b7K.wxXCkey=1
_(a4K,e6K)
return a4K
}
oZK.wxXCkey=2
_2z(z,2,c1K,e,s,gg,oZK,'item','index','{{ item.uid }}')
_(oVK,hYK)
var fWK=_v()
_(oVK,fWK)
if(_oz(z,14,e,s,gg)){fWK.wxVkey=1
}
var cXK=_v()
_(oVK,cXK)
if(_oz(z,15,e,s,gg)){cXK.wxVkey=1
}
fWK.wxXCkey=1
cXK.wxXCkey=1
}
else{oVK.wxVkey=2
}
oVK.wxXCkey=1
return r
}
e_[x[89]]={f:m72,j:[],i:[],ti:[],ic:[]}
d_[x[90]]={}
var m73=function(e,s,r,gg){
var z=gz$gwx_74()
var x9K=_mz(z,'view',['bindtap',0,'class',1],[],e,s,gg)
var fAL=_n('view')
var cBL=_v()
_(fAL,cBL)
if(_oz(z,2,e,s,gg)){cBL.wxVkey=1
}
var hCL=_v()
_(fAL,hCL)
if(_oz(z,3,e,s,gg)){hCL.wxVkey=1
}
cBL.wxXCkey=1
hCL.wxXCkey=1
_(x9K,fAL)
var o0K=_v()
_(x9K,o0K)
if(_oz(z,4,e,s,gg)){o0K.wxVkey=1
}
o0K.wxXCkey=1
_(r,x9K)
return r
}
e_[x[90]]={f:m73,j:[],i:[],ti:[],ic:[]}
d_[x[91]]={}
var m74=function(e,s,r,gg){
var z=gz$gwx_75()
var cEL=_v()
_(r,cEL)
if(_oz(z,0,e,s,gg)){cEL.wxVkey=1
var oFL=_mz(z,'view',['class',1,'style',1],[],e,s,gg)
var lGL=_v()
_(oFL,lGL)
if(_oz(z,3,e,s,gg)){lGL.wxVkey=1
}
var aHL=_v()
_(oFL,aHL)
if(_oz(z,4,e,s,gg)){aHL.wxVkey=1
}
lGL.wxXCkey=1
aHL.wxXCkey=1
_(cEL,oFL)
}
cEL.wxXCkey=1
return r
}
e_[x[91]]={f:m74,j:[],i:[],ti:[],ic:[]}
d_[x[92]]={}
var m75=function(e,s,r,gg){
var z=gz$gwx_76()
return r
}
e_[x[92]]={f:m75,j:[],i:[],ti:[],ic:[]}
d_[x[93]]={}
var m76=function(e,s,r,gg){
var z=gz$gwx_77()
return r
}
e_[x[93]]={f:m76,j:[],i:[],ti:[],ic:[]}
d_[x[94]]={}
d_[x[94]]["share-tip"]=function(e,s,r,gg){
var z=gz$gwx_78()
var b=x[94]+':share-tip'
r.wxVkey=b
gg.f=$gdc(f_["./public/components/share-tip/share-tip.wxml"],"",1)
if(p_[b]){_wl(b,x[94]);return}
p_[b]=true
try{
var oB=_v()
_(r,oB)
if(_oz(z,1,e,s,gg)){oB.wxVkey=1
}
oB.wxXCkey=1
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m77=function(e,s,r,gg){
var z=gz$gwx_78()
return r
}
e_[x[94]]={f:m77,j:[],i:[],ti:[],ic:[]}
d_[x[95]]={}
var m78=function(e,s,r,gg){
var z=gz$gwx_79()
var xML=_v()
_(r,xML)
if(_oz(z,0,e,s,gg)){xML.wxVkey=1
}
xML.wxXCkey=1
return r
}
e_[x[95]]={f:m78,j:[],i:[],ti:[],ic:[]}
d_[x[96]]={}
d_[x[96]]["tabbar"]=function(e,s,r,gg){
var z=gz$gwx_80()
var b=x[96]+':tabbar'
r.wxVkey=b
gg.f=$gdc(f_["./public/components/tabbar/tabbar.wxml"],"",1)
if(p_[b]){_wl(b,x[96]);return}
p_[b]=true
try{
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m79=function(e,s,r,gg){
var z=gz$gwx_80()
return r
}
e_[x[96]]={f:m79,j:[],i:[],ti:[],ic:[]}
d_[x[97]]={}
var m80=function(e,s,r,gg){
var z=gz$gwx_81()
var cPL=_mz(z,'form',['reportSubmit',-1,'bindsubmit',0],[],e,s,gg)
var hQL=_v()
_(cPL,hQL)
if(_oz(z,1,e,s,gg)){hQL.wxVkey=1
}
hQL.wxXCkey=1
_(r,cPL)
var oRL=_n('toptip')
_rz(z,oRL,'tipType',2,e,s,gg)
_(r,oRL)
return r
}
e_[x[97]]={f:m80,j:[],i:[],ti:[],ic:[]}
d_[x[98]]={}
var m81=function(e,s,r,gg){
var z=gz$gwx_82()
return r
}
e_[x[98]]={f:m81,j:[],i:[],ti:[],ic:[]}
d_[x[99]]={}
d_[x[99]]["shot-option"]=function(e,s,r,gg){
var z=gz$gwx_83()
var b=x[99]+':shot-option'
r.wxVkey=b
gg.f=$gdc(f_["./public/pages/card-scanner/card-scanner.wxml"],"",1)
if(p_[b]){_wl(b,x[99]);return}
p_[b]=true
try{
}catch(err){
p_[b]=false
throw err
}
p_[b]=false
return r
}
var m82=function(e,s,r,gg){
var z=gz$gwx_83()
var lUL=_v()
_(r,lUL)
if(_oz(z,0,e,s,gg)){lUL.wxVkey=1
var aVL=_mz(z,'card-scanner',['bindonfail',1,'bindonsuccess',1,'file',2,'loading',3],[],e,s,gg)
_(lUL,aVL)
}
else{lUL.wxVkey=2
var tWL=_v()
_(lUL,tWL)
var eXL=function(oZL,bYL,x1L,gg){
var f3L=_v()
_(x1L,f3L)
var c4L=_oz(z,8,oZL,bYL,gg)
var h5L=_gd(x[99],c4L,e_,d_)
if(h5L){
var o6L=_1z(z,7,oZL,bYL,gg) || {}
var cur_globalf=gg.f
f3L.wxXCkey=3
h5L(o6L,o6L,f3L,gg)
gg.f=cur_globalf
}
else _w(c4L,x[99],24,18)
return x1L
}
tWL.wxXCkey=2
_2z(z,5,eXL,e,s,gg,tWL,'item','index','item.title')
}
lUL.wxXCkey=1
lUL.wxXCkey=3
return r
}
e_[x[99]]={f:m82,j:[],i:[],ti:[],ic:[]}
d_[x[100]]={}
var m83=function(e,s,r,gg){
var z=gz$gwx_84()
return r
}
e_[x[100]]={f:m83,j:[],i:[],ti:[],ic:[]}
d_[x[101]]={}
var m84=function(e,s,r,gg){
var z=gz$gwx_85()
var l9L=e_[x[101]].i
_ai(l9L,x[102],e_,x[101],1,1)
var a0L=_v()
_(r,a0L)
if(_oz(z,0,e,s,gg)){a0L.wxVkey=1
}
var eBM=_n('view')
_rz(z,eBM,'class',1,e,s,gg)
var bCM=_v()
_(eBM,bCM)
if(_oz(z,2,e,s,gg)){bCM.wxVkey=1
}
else{bCM.wxVkey=2
var oDM=_v()
_(bCM,oDM)
var xEM=_oz(z,4,e,s,gg)
var oFM=_gd(x[101],xEM,e_,d_)
if(oFM){
var fGM=_1z(z,3,e,s,gg) || {}
var cur_globalf=gg.f
oDM.wxXCkey=3
oFM(fGM,fGM,oDM,gg)
gg.f=cur_globalf
}
else _w(xEM,x[101],18,18)
}
bCM.wxXCkey=1
_(r,eBM)
var tAM=_v()
_(r,tAM)
if(_oz(z,5,e,s,gg)){tAM.wxVkey=1
}
a0L.wxXCkey=1
tAM.wxXCkey=1
l9L.pop()
return r
}
e_[x[101]]={f:m84,j:[],i:[],ti:[x[102]],ic:[]}
if(path&&e_[path]){
return function(env,dd,global){$gwxc=0;var root={"tag":"wx-page"};root.children=[]
var main=e_[path].f
if (typeof global==="undefined")global={};global.f=$gdc(f_[path],"",1);
try{
main(env,{},root,global);
_tsd(root)
}catch(err){
console.log(err)
}
return root;
}
}
}
	__wxAppCode__['components/authorize-mobile/authorize-mobile.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/authorize-mobile/authorize-mobile.wxml'] = [$gwx, './components/authorize-mobile/authorize-mobile.wxml'];else __wxAppCode__['components/authorize-mobile/authorize-mobile.wxml'] = $gwx( './components/authorize-mobile/authorize-mobile.wxml' );
		__wxAppCode__['components/back-site/back-site.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/back-site/back-site.wxml'] = [$gwx, './components/back-site/back-site.wxml'];else __wxAppCode__['components/back-site/back-site.wxml'] = $gwx( './components/back-site/back-site.wxml' );
		__wxAppCode__['components/bottom-popup/bottom-popup.json'] = {"component":true,"usingComponents":{}};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/bottom-popup/bottom-popup.wxml'] = [$gwx, './components/bottom-popup/bottom-popup.wxml'];else __wxAppCode__['components/bottom-popup/bottom-popup.wxml'] = $gwx( './components/bottom-popup/bottom-popup.wxml' );
		__wxAppCode__['components/circle-switch/circle-switch.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/circle-switch/circle-switch.wxml'] = [$gwx, './components/circle-switch/circle-switch.wxml'];else __wxAppCode__['components/circle-switch/circle-switch.wxml'] = $gwx( './components/circle-switch/circle-switch.wxml' );
		__wxAppCode__['components/collectform/collectform.json'] = {"component":true,"usingComponents":{}};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/collectform/collectform.wxml'] = [$gwx, './components/collectform/collectform.wxml'];else __wxAppCode__['components/collectform/collectform.wxml'] = $gwx( './components/collectform/collectform.wxml' );
		__wxAppCode__['components/content-empty-tip/content-empty-tip.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/content-empty-tip/content-empty-tip.wxml'] = [$gwx, './components/content-empty-tip/content-empty-tip.wxml'];else __wxAppCode__['components/content-empty-tip/content-empty-tip.wxml'] = $gwx( './components/content-empty-tip/content-empty-tip.wxml' );
		__wxAppCode__['components/copyright/copyright.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/copyright/copyright.wxml'] = [$gwx, './components/copyright/copyright.wxml'];else __wxAppCode__['components/copyright/copyright.wxml'] = $gwx( './components/copyright/copyright.wxml' );
		__wxAppCode__['components/editor/section-activity/item/item.json'] = {"component":true,"usingComponents":{"wrapper":"../wrapper/wrapper"}};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/editor/section-activity/item/item.wxml'] = [$gwx, './components/editor/section-activity/item/item.wxml'];else __wxAppCode__['components/editor/section-activity/item/item.wxml'] = $gwx( './components/editor/section-activity/item/item.wxml' );
		__wxAppCode__['components/editor/section-activity/wrapper/wrapper.json'] = {"component":true,"usingComponents":{}};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/editor/section-activity/wrapper/wrapper.wxml'] = [$gwx, './components/editor/section-activity/wrapper/wrapper.wxml'];else __wxAppCode__['components/editor/section-activity/wrapper/wrapper.wxml'] = $gwx( './components/editor/section-activity/wrapper/wrapper.wxml' );
		__wxAppCode__['components/expire-modal/expire-modal.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/expire-modal/expire-modal.wxml'] = [$gwx, './components/expire-modal/expire-modal.wxml'];else __wxAppCode__['components/expire-modal/expire-modal.wxml'] = $gwx( './components/expire-modal/expire-modal.wxml' );
		__wxAppCode__['components/fold/fold.json'] = {"component":true,"usingComponents":{}};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/fold/fold.wxml'] = [$gwx, './components/fold/fold.wxml'];else __wxAppCode__['components/fold/fold.wxml'] = $gwx( './components/fold/fold.wxml' );
		__wxAppCode__['components/formid-collector/formid-collector.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/formid-collector/formid-collector.wxml'] = [$gwx, './components/formid-collector/formid-collector.wxml'];else __wxAppCode__['components/formid-collector/formid-collector.wxml'] = $gwx( './components/formid-collector/formid-collector.wxml' );
		__wxAppCode__['components/input-block/input-block.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/input-block/input-block.wxml'] = [$gwx, './components/input-block/input-block.wxml'];else __wxAppCode__['components/input-block/input-block.wxml'] = $gwx( './components/input-block/input-block.wxml' );
		__wxAppCode__['components/list-nomore-tip/list-nomore-tip.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/list-nomore-tip/list-nomore-tip.wxml'] = [$gwx, './components/list-nomore-tip/list-nomore-tip.wxml'];else __wxAppCode__['components/list-nomore-tip/list-nomore-tip.wxml'] = $gwx( './components/list-nomore-tip/list-nomore-tip.wxml' );
		__wxAppCode__['components/loading-tip/loading-tip.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/loading-tip/loading-tip.wxml'] = [$gwx, './components/loading-tip/loading-tip.wxml'];else __wxAppCode__['components/loading-tip/loading-tip.wxml'] = $gwx( './components/loading-tip/loading-tip.wxml' );
		__wxAppCode__['components/login-modal/login-modal.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/login-modal/login-modal.wxml'] = [$gwx, './components/login-modal/login-modal.wxml'];else __wxAppCode__['components/login-modal/login-modal.wxml'] = $gwx( './components/login-modal/login-modal.wxml' );
		__wxAppCode__['components/logo-creator/logo-creator.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/logo-creator/logo-creator.wxml'] = [$gwx, './components/logo-creator/logo-creator.wxml'];else __wxAppCode__['components/logo-creator/logo-creator.wxml'] = $gwx( './components/logo-creator/logo-creator.wxml' );
		__wxAppCode__['components/manage-set/manage-set.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/manage-set/manage-set.wxml'] = [$gwx, './components/manage-set/manage-set.wxml'];else __wxAppCode__['components/manage-set/manage-set.wxml'] = $gwx( './components/manage-set/manage-set.wxml' );
		__wxAppCode__['components/navigation-bar/navigation-bar.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/navigation-bar/navigation-bar.wxml'] = [$gwx, './components/navigation-bar/navigation-bar.wxml'];else __wxAppCode__['components/navigation-bar/navigation-bar.wxml'] = $gwx( './components/navigation-bar/navigation-bar.wxml' );
		__wxAppCode__['components/share-set/share-set.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/share-set/share-set.wxml'] = [$gwx, './components/share-set/share-set.wxml'];else __wxAppCode__['components/share-set/share-set.wxml'] = $gwx( './components/share-set/share-set.wxml' );
		__wxAppCode__['components/shoppingcart/shoppingcart.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/shoppingcart/shoppingcart.wxml'] = [$gwx, './components/shoppingcart/shoppingcart.wxml'];else __wxAppCode__['components/shoppingcart/shoppingcart.wxml'] = $gwx( './components/shoppingcart/shoppingcart.wxml' );
		__wxAppCode__['components/site-basic-settings/site-basic-settings.json'] = {"component":true,"usingComponents":{"input-block":"/components/input-block/input-block","logo-creator":"/components/logo-creator/logo-creator"}};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/site-basic-settings/site-basic-settings.wxml'] = [$gwx, './components/site-basic-settings/site-basic-settings.wxml'];else __wxAppCode__['components/site-basic-settings/site-basic-settings.wxml'] = $gwx( './components/site-basic-settings/site-basic-settings.wxml' );
		__wxAppCode__['components/site-deleted-tip/site-deleted-tip.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/site-deleted-tip/site-deleted-tip.wxml'] = [$gwx, './components/site-deleted-tip/site-deleted-tip.wxml'];else __wxAppCode__['components/site-deleted-tip/site-deleted-tip.wxml'] = $gwx( './components/site-deleted-tip/site-deleted-tip.wxml' );
		__wxAppCode__['components/tabbar/tabbar.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/tabbar/tabbar.wxml'] = [$gwx, './components/tabbar/tabbar.wxml'];else __wxAppCode__['components/tabbar/tabbar.wxml'] = $gwx( './components/tabbar/tabbar.wxml' );
		__wxAppCode__['components/top-notice/top-notice.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/top-notice/top-notice.wxml'] = [$gwx, './components/top-notice/top-notice.wxml'];else __wxAppCode__['components/top-notice/top-notice.wxml'] = $gwx( './components/top-notice/top-notice.wxml' );
		__wxAppCode__['components/version-info/version-info.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/version-info/version-info.wxml'] = [$gwx, './components/version-info/version-info.wxml'];else __wxAppCode__['components/version-info/version-info.wxml'] = $gwx( './components/version-info/version-info.wxml' );
		__wxAppCode__['components/we-cropper/we-cropper.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/we-cropper/we-cropper.wxml'] = [$gwx, './components/we-cropper/we-cropper.wxml'];else __wxAppCode__['components/we-cropper/we-cropper.wxml'] = $gwx( './components/we-cropper/we-cropper.wxml' );
		__wxAppCode__['components/withinmsg/withinmsg.json'] = {"component":true,"usingComponents":{"withinmsg":"/public/components/withinmsg/withinmsg"}};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['components/withinmsg/withinmsg.wxml'] = [$gwx, './components/withinmsg/withinmsg.wxml'];else __wxAppCode__['components/withinmsg/withinmsg.wxml'] = $gwx( './components/withinmsg/withinmsg.wxml' );
		__wxAppCode__['pages/index/index.json'] = {"usingComponents":{"loading-tip":"/components/loading-tip/loading-tip","login-modal":"/components/login-modal/login-modal","list-nomore-tip":"/components/list-nomore-tip/list-nomore-tip"},"navigationBarTitleText":"管理","enablePullDownRefresh":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['pages/index/index.wxml'] = [$gwx, './pages/index/index.wxml'];else __wxAppCode__['pages/index/index.wxml'] = $gwx( './pages/index/index.wxml' );
		__wxAppCode__['pages/profile-entry/index/index.json'] = {"usingComponents":{"login-modal":"/components/login-modal/login-modal","authorize-mobile":"/components/authorize-mobile/authorize-mobile"}};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['pages/profile-entry/index/index.wxml'] = [$gwx, './pages/profile-entry/index/index.wxml'];else __wxAppCode__['pages/profile-entry/index/index.wxml'] = $gwx( './pages/profile-entry/index/index.wxml' );
		__wxAppCode__['pages/profile-entry/members/members.json'] = {"usingComponents":{"tabbar":"/components/tabbar/tabbar","login-modal":"/components/login-modal/login-modal","authorize-mobile":"/components/authorize-mobile/authorize-mobile"},"navigationBarTitleText":"我","enablePullDownRefresh":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['pages/profile-entry/members/members.wxml'] = [$gwx, './pages/profile-entry/members/members.wxml'];else __wxAppCode__['pages/profile-entry/members/members.wxml'] = $gwx( './pages/profile-entry/members/members.wxml' );
		__wxAppCode__['pages/track/index/index.json'] = {"navigationBarTitleText":"","usingComponents":{"login-modal":"/components/login-modal/login-modal"},"enablePullDownRefresh":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['pages/track/index/index.wxml'] = [$gwx, './pages/track/index/index.wxml'];else __wxAppCode__['pages/track/index/index.wxml'] = $gwx( './pages/track/index/index.wxml' );
		__wxAppCode__['pages/track/list/list.json'] = {"navigationBarTitleText":"浏览历史","usingComponents":{"list-nomore-tip":"/components/list-nomore-tip/list-nomore-tip"}};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['pages/track/list/list.wxml'] = [$gwx, './pages/track/list/list.wxml'];else __wxAppCode__['pages/track/list/list.wxml'] = $gwx( './pages/track/list/list.wxml' );
		__wxAppCode__['pages/website/index/index.json'] = {"usingComponents":{"back-site":"/components/back-site/back-site","copyright":"/components/copyright/copyright","content-empty-tip":"/components/content-empty-tip/content-empty-tip","collectform":"/components/collectform/collectform","expire-modal":"/components/expire-modal/expire-modal","loading-tip":"/components/loading-tip/loading-tip","login-modal":"/components/login-modal/login-modal","navigation-bar":"/components/navigation-bar/navigation-bar","manage-set":"/components/manage-set/manage-set","tabbar":"/components/tabbar/tabbar","share-set":"/components/share-set/share-set","shoppingcart":"/components/shoppingcart/shoppingcart","site-deleted-tip":"/components/site-deleted-tip/site-deleted-tip","version-info":"/components/version-info/version-info","withinmsg":"/components/withinmsg/withinmsg"},"navigationBarTitleText":"首页"};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['pages/website/index/index.wxml'] = [$gwx, './pages/website/index/index.wxml'];else __wxAppCode__['pages/website/index/index.wxml'] = $gwx( './pages/website/index/index.wxml' );
		__wxAppCode__['public/components/card-create-form/card-create-form.json'] = {"component":true,"usingComponents":{"mobile-verify":"/public/components/mobile-verify/mobile-verify","search-list":"/public/components/search-list/search-list","input-blocker":"/public/components/input-blocker/input-blocker"}};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['public/components/card-create-form/card-create-form.wxml'] = [$gwx, './public/components/card-create-form/card-create-form.wxml'];else __wxAppCode__['public/components/card-create-form/card-create-form.wxml'] = $gwx( './public/components/card-create-form/card-create-form.wxml' );
		__wxAppCode__['public/components/card-scanner-form/card-scanner-form.json'] = {"component":true,"usingComponents":{"card-create-form":"/public/components/card-create-form/card-create-form"}};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['public/components/card-scanner-form/card-scanner-form.wxml'] = [$gwx, './public/components/card-scanner-form/card-scanner-form.wxml'];else __wxAppCode__['public/components/card-scanner-form/card-scanner-form.wxml'] = $gwx( './public/components/card-scanner-form/card-scanner-form.wxml' );
		__wxAppCode__['public/components/card-scanner/card-scanner.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['public/components/card-scanner/card-scanner.wxml'] = [$gwx, './public/components/card-scanner/card-scanner.wxml'];else __wxAppCode__['public/components/card-scanner/card-scanner.wxml'] = $gwx( './public/components/card-scanner/card-scanner.wxml' );
		__wxAppCode__['public/components/input-blocker/input-blocker.json'] = {"component":true,"usingComponents":{}};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['public/components/input-blocker/input-blocker.wxml'] = [$gwx, './public/components/input-blocker/input-blocker.wxml'];else __wxAppCode__['public/components/input-blocker/input-blocker.wxml'] = $gwx( './public/components/input-blocker/input-blocker.wxml' );
		__wxAppCode__['public/components/mobile-verify/mobile-verify.json'] = {"component":true,"usingComponents":{"input-blocker":"/public/components/input-blocker/input-blocker"}};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['public/components/mobile-verify/mobile-verify.wxml'] = [$gwx, './public/components/mobile-verify/mobile-verify.wxml'];else __wxAppCode__['public/components/mobile-verify/mobile-verify.wxml'] = $gwx( './public/components/mobile-verify/mobile-verify.wxml' );
		__wxAppCode__['public/components/quick-create-card/quick-create-card.json'] = {"component":true,"usingComponents":{"card-create-form":"/public/components/card-create-form/card-create-form"}};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['public/components/quick-create-card/quick-create-card.wxml'] = [$gwx, './public/components/quick-create-card/quick-create-card.wxml'];else __wxAppCode__['public/components/quick-create-card/quick-create-card.wxml'] = $gwx( './public/components/quick-create-card/quick-create-card.wxml' );
		__wxAppCode__['public/components/radar-modules/chatlist/chatlist.json'] = {"component":true,"usingComponents":{}};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['public/components/radar-modules/chatlist/chatlist.wxml'] = [$gwx, './public/components/radar-modules/chatlist/chatlist.wxml'];else __wxAppCode__['public/components/radar-modules/chatlist/chatlist.wxml'] = $gwx( './public/components/radar-modules/chatlist/chatlist.wxml' );
		__wxAppCode__['public/components/radarToptips/toptips.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['public/components/radarToptips/toptips.wxml'] = [$gwx, './public/components/radarToptips/toptips.wxml'];else __wxAppCode__['public/components/radarToptips/toptips.wxml'] = $gwx( './public/components/radarToptips/toptips.wxml' );
		__wxAppCode__['public/components/search-list/search-list.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['public/components/search-list/search-list.wxml'] = [$gwx, './public/components/search-list/search-list.wxml'];else __wxAppCode__['public/components/search-list/search-list.wxml'] = $gwx( './public/components/search-list/search-list.wxml' );
		__wxAppCode__['public/components/service/service.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['public/components/service/service.wxml'] = [$gwx, './public/components/service/service.wxml'];else __wxAppCode__['public/components/service/service.wxml'] = $gwx( './public/components/service/service.wxml' );
		__wxAppCode__['public/components/set-response/set-response.json'] = {"component":true};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['public/components/set-response/set-response.wxml'] = [$gwx, './public/components/set-response/set-response.wxml'];else __wxAppCode__['public/components/set-response/set-response.wxml'] = $gwx( './public/components/set-response/set-response.wxml' );
		__wxAppCode__['public/components/signin-modal/signin-modal.json'] = {"component":true,"usingComponents":{}};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['public/components/signin-modal/signin-modal.wxml'] = [$gwx, './public/components/signin-modal/signin-modal.wxml'];else __wxAppCode__['public/components/signin-modal/signin-modal.wxml'] = $gwx( './public/components/signin-modal/signin-modal.wxml' );
		__wxAppCode__['public/components/withinmsg/withinmsg.json'] = {"component":true,"usingComponents":{"toptip":"../radarToptips/toptips"}};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['public/components/withinmsg/withinmsg.wxml'] = [$gwx, './public/components/withinmsg/withinmsg.wxml'];else __wxAppCode__['public/components/withinmsg/withinmsg.wxml'] = $gwx( './public/components/withinmsg/withinmsg.wxml' );
		__wxAppCode__['public/pages/auto-response/auto-response.json'] = {"navigationBarTitleText":"设置自动回复","usingComponents":{}};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['public/pages/auto-response/auto-response.wxml'] = [$gwx, './public/pages/auto-response/auto-response.wxml'];else __wxAppCode__['public/pages/auto-response/auto-response.wxml'] = $gwx( './public/pages/auto-response/auto-response.wxml' );
		__wxAppCode__['public/pages/card-scanner/card-scanner.json'] = {"navigationBarTitleText":"拍名片","disableScroll":true,"usingComponents":{"card-scanner":"/public/components/card-scanner/card-scanner"}};
		if (__vd_version_info__.delayedGwx) __wxAppCode__['public/pages/card-scanner/card-scanner.wxml'] = [$gwx, './public/pages/card-scanner/card-scanner.wxml'];else __wxAppCode__['public/pages/card-scanner/card-scanner.wxml'] = $gwx( './public/pages/card-scanner/card-scanner.wxml' );
	
	define("components/editor-content-view/editor-content-view.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function i(i){return i&&i.__esModule?i:{default:i}}function e(i,e,t){return e in i?Object.defineProperty(i,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):i[e]=t,i}function t(i,e){if(!(i instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(exports,"__esModule",{value:!0});var a=function(){function i(i,e){for(var t=0;t<e.length;t++){var a=e[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(i,a.key,a)}}return function(e,t,a){return t&&i(e.prototype,t),a&&i(e,a),e}}(),n=i(require("../../utils/util")),o=i(require("../../utils/config")),d=i(require("../../public/utils/authorize")),s=require("../../public/pages/signin-page/checkIfNeedSignin"),r=i(require("../editor/section-form/section-form")),c=i(require("../../utils/api2")),u=function(){function i(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t(this,i),Object.assign(this,{options:a}),this.page=e;var n=void 0;wx.getSystemInfo({success:function(i){n=i.windowWidth,e.setData({windowWidth:n,swiper:[]})}}),this.__init()}return a(i,[{key:"__init",value:function(){this.options.data&&this.__initData(),this.__methods()}},{key:"__initData",value:function(){var i=this.options.scope||"editorContent",t=this.options.data;if(this._data={},!n.default.isEmptyObject(t))for(var a in t)t.hasOwnProperty(a)&&"function"!=typeof t[a]&&(this._data[a]=t[a]);this.page.setData(e({},""+i,this._data))}},{key:"__methods",value:function(){var i=this;this.page.navigatImageLink=this.navigatImageLink.bind(this),this.page.navigatLinkLink=this.navigatLinkLink.bind(this),this.page.openLocation=this.openLocation.bind(this),this.page.imageLoad=this.imageLoad.bind(this),this.page.playVideo=this.playVideo.bind(this),this.page.videoScreenchange=this.videoScreenchange.bind(this),this.page.$$redirectToNavigation=this.$$redirectToNavigation.bind(this),this.page.$$redirectToDetail=this.$$redirectToDetail.bind(this),this.page.$$makePhoneCall=this.$$makePhoneCall.bind(this),this.page.redirectToBargainingList=this.redirectToBargainingList.bind(this),this.page.redirectToPayment=this.redirectToPayment.bind(this),this.page.redirectToCouponList=this.redirectToCouponList.bind(this),this.page.redirectToGrouponList=this.redirectToGrouponList.bind(this),this.page.redirectToSearch=this.redirectToSearch.bind(this),this.page.viewBargaining=this.viewBargaining.bind(this),this.page.viewCard=this.viewCard.bind(this),this.page.viewPanorama=this.viewPanorama.bind(this),this.page.viewGroupon=this.viewGroupon.bind(this),this.page.showProductBar=this.showProductBar.bind(this),this.page.$$gotoRaffleList=this.$$gotoRaffleList.bind(this),Object.assign(this.page,r.default),this.page.$addListener("form:submit",function(e){var t=e.formid,a=e.datas,n=e.fields;e.route===i.page.route&&(a=a.map(function(i){return i.value=i.value||"",i}),i.$$submitForm({formid:t,datas:a}).then(function(){i.page.$$clearForm(n)}))})}},{key:"$$submitForm",value:function(i){var e=i.formid,t=i.datas,a=this.page.data.sharePluginData,o=a.sid,d=a.navid,s=a.cid,r=a.id,u=a.caseid,l=a.modid,g=a.model,h={appid:getApp().globalData.appid,formid:e,sid:+o,navid:d||0,cid:s||r||u||0,from:this.$$getFormFrom(l,g),datas:t};return c.default.site.form.submit({data:h,desc:"提交"}).then(function(i){return n.default.qAlert("表单提交成功"),""}).catch(function(){return n.default.qAlert("表单提交失败，请重新提交"),Promise.reject()})}},{key:"$$getFormFrom",value:function(i,e){return 0==+i||1==+i?1:2==+i?2:3==+i?3:5==+i?4:4==+i&&"services_project"===e?5:4==+i&&"services_staff"===e?6:1}},{key:"$$linkNavigateTo",value:function(i){if(!n.default.isEmptyObject(i)&&void 0!==i.modid){i=4!=+i.modid?Object.assign(i,{op:i.cid?"link":"view"}):Object.assign(i,{op:i.cid?"link":"view",id:i.cid});var e=o.default.model,t=n.default.createModelUrl(e,i);wx.navigateTo({url:t,fail:function(i){console.error(i)}})}}},{key:"navigatImageLink",value:function(i){var e=this,t=i.currentTarget.dataset,a=t.key,o=t.index;if("view"===t.mode){var d=this.options.scope,s=this.page.data[""+d].content[a].data.images,r=s[o],c=r.url,u=r.link;if(u){var l=u.sid,g=u.modid,h=u.navid,p=u.cardid,v=u.id,f=u.model,m=f.catid,w=f.cid,b=p?"services_staff":"services_project";if("linksite"===u.type)n.default.saveOriginSiteData(u.originsite).then(function(){e.$$linkNavigateTo({sid:l,modid:g,navid:h,catid:m,cid:w,id:v,caseid:w,model:b})},function(){});else if("linkapp"===u.type){if("wxb6eef443a6b04494"===getApp().globalData.appid)return void wx.showModal({title:"操作提示",content:"小官网内暂不支持跳转至第三方小程序，请到授权独立小程序操作",showCancel:!1,confirmText:"我知道了"});var k=u.data,$=k.redirectappid,T=k.appname;$&&wx.navigateToMiniProgram({appId:$,fail:function(i){i.errMsg.indexOf("is not in navigateToMiniProgramAppIdList")>-1&&wx.showModal({title:"操作提示",content:'小程序-"'+T+'"暂未授权绑定，请前往PC端设置',showCancel:!1,confirmText:"我知道了"})}})}else this.$$linkNavigateTo({sid:l,modid:g,navid:h,catid:m,cid:w,id:v,caseid:w,model:b})}else{var x=s.map(function(i){return i.url});wx.previewImage({current:c,urls:x})}}}},{key:"navigatLinkLink",value:function(i){var e=this,t=i.currentTarget.dataset.params;if(t){if(4==+t.modid){var a=t,o=a.sid,d=a.modid,s=a.navid,r=a.id,c=a.cid,u=a.cardid,l=a.model.catid;t={sid:o,navid:s,modid:d,catid:l,cid:c,id:r,model:u?"services_staff":"services_project"}}else 5==+t.modid&&(t.caseid=t.cid);if(t.cid=t.cid||t.model.cid,"linksite"===t.type)n.default.saveOriginSiteData(t.originsite).then(function(i){e.$$linkNavigateTo(t)},function(){});else if("linkapp"===t.type){if("wxb6eef443a6b04494"===getApp().globalData.appid)return void wx.showModal({title:"操作提示",content:"小官网内暂不支持跳转至第三方小程序，请到授权独立小程序操作",showCancel:!1,confirmText:"我知道了"});var g=t.data,h=g.redirectappid,p=g.appname;h&&wx.navigateToMiniProgram({appId:h,fail:function(i){i.errMsg.indexOf("is not in navigateToMiniProgramAppIdList")>-1&&wx.showModal({title:"操作提示",content:'小程序-"'+p+'"暂未授权绑定，请前往PC端设置',showCancel:!1,confirmText:"我知道了"})}})}else this.$$linkNavigateTo(t)}}},{key:"openLocation",value:function(i){var e=this,t=i.currentTarget.dataset;t.latitude&&wx.openLocation({latitude:+t.latitude,longitude:+t.longitude,name:t.name,address:t.address,fail:function(i){return d.default.userLocation(i,function(i){return e.openLocation(i)})}})}},{key:"$$formatSwiperHeight",value:function(i){var t=this.options.scope,a=this.page.data,n=a.windowWidth,o=a[""+t].content,d=i.index,s=o[d],r=a.swiper;if(r.indexOf(d)<0){r.push(d);var c=n*(i.imageHeight/i.imageWidth);s.height=c,this.page.setData(e({},t+".content["+d+"]",s))}}},{key:"imageLoad",value:function(i){var e={imageWidth:i.detail.width,imageHeight:i.detail.height,index:i.currentTarget.dataset.index};this.$$formatSwiperHeight(e)}},{key:"playVideo",value:function(i){var e=i.currentTarget.dataset.video,t=e.file,a=t.url,n=t.fieldid,o=e.content;this.page.setData({videoSource:a}),this.videoContext||(this.videoContext=wx.createVideoContext("editor_video")),this.videoContext.seek(0),this.videoContext.requestFullScreen({direction:0}),this.page.setData({"$$editor.video":{content:o,fieldid:n,start:Date.now()}})}},{key:"videoScreenchange",value:function(i){i.detail.fullScreen?this.videoContext.play():(this.videoContext.pause(),this.page.setData({videoSource:""}),this.__pushWatchVideoEvent())}},{key:"__pushWatchVideoEvent",value:function(){var i=this,e=this.page.data.sidebar.site.sid,t=this.page.data.$$editor.video,a=t.content,o=void 0===a?"":a,d=t.fieldid,s=t.start,r=Math.round((Date.now()-s)/1e3);e&&r&&n.default.pushWatchVideoEvent(e,r,{fieldid:d,title:o}).then(function(){i.page.setData({"$$editor.video":{}})}).catch(function(){i.page.setData({"$$editor.video":{}})})}},{key:"$$redirectToNavigation",value:function(i){var e=i.currentTarget.dataset,t=e.key;if("edit"===e.mode)wx.showModal({content:"编辑状态下无法跳转,请保存后再操作",showCancel:!1});else{var a=this.page.data[""+this.options.scope].content[t].data.nav.nav,n=a.sid,o=a.modid,d=a.navid,s=a.catid;this.$$linkNavigateTo({sid:n,modid:o,navid:d,catid:s})}}},{key:"$$redirectToDetail",value:function(i){var e=i.currentTarget.dataset,t=e.key,a=e.index;if("edit"===e.mode)wx.showModal({content:"编辑状态下无法跳转,请保存后再操作",showCancel:!1});else{var o=this.page.data[""+this.options.scope].content[t].data.nav.list[a],d=o.sid,s=o.modid,r=o.navid,c=o.catid,u=o.cid,l=o.cardid,g={sid:d,modid:s,navid:r,catid:c};if(4==+s){var h=l?"services_staff":"services_project";g=n.default.extend({},g,{model:h,id:u,op:"link"})}else g=5==+s?n.default.extend({},g,{caseid:u,cid:u}):n.default.extend({},g,{cid:u});this.$$linkNavigateTo(g)}}},{key:"$$makePhoneCall",value:function(i){var e=i.currentTarget.dataset.mobile;wx.makePhoneCall({phoneNumber:""+e})}},{key:"redirectToBargainingList",value:function(){var i=this.page.data.sidebar.site,e=i.sid,t=i.name;(0,s.askForSignin)()||wx.navigateTo({url:"/pages/common/bargaining/list/list?sid="+e+"&name="+t})}},{key:"redirectToPayment",value:function(){var i=this.page.data.sidebar.site,e=i.sid,t=i.name;(0,s.askForSignin)()||wx.navigateTo({url:"/pages/common/payment/payment?sid="+e+"&name="+t})}},{key:"redirectToCouponList",value:function(){var i=this.page.data.sidebar.site.sid;(0,s.askForSignin)()||wx.navigateTo({url:"/pages/common/coupon/list/list?sid="+i})}},{key:"redirectToGrouponList",value:function(){var i=this.page.data.sidebar.site,e=i.sid,t=i.name;(0,s.askForSignin)()||wx.navigateTo({url:"/pages/common/groupon/list/list?sid="+e+"&name="+t})}},{key:"$$gotoRaffleList",value:function(){var i=this;if(!this.$$gotoRaffleing){this.$$gotoRaffleing=!0;var e=this.page.data.sidebar.site.sid;return c.default.site.lottery.lists({data:{sid:e,type:"starting",limit:3,offset:0}}).then(function(t){i.$$gotoRaffleing=!1;var a=t.lists;1===a.length?wx.redirectTo({url:"/pages/common/raffle/view/view?sid="+e+"&lid="+a[0].lid}):wx.navigateTo({url:"/pages/common/raffle/raffle-list/raffle-list?sid="+e})}).catch(function(){return i.$$gotoRaffleing=!1})}}},{key:"viewBargaining",value:function(i){var e=i.currentTarget.dataset,t=e.id,a=e.index,n=this.page.data.sidebar.site.name;"edit"!==this.page.data.mode&&wx.navigateTo({url:"/pages/common/bargaining/view/view?index="+a+"&bargainid="+t+"&name="+n})}},{key:"viewCard",value:function(i){var e=getApp(),t=i.currentTarget.dataset.card,a=t.aid,n=t.cardid,o=t.guid,d=e.globalData.app;if("edit"!==this.page.data.mode)if("site"===d)wx.navigateToMiniProgram({appId:"wx252db2bdbbfccbc7",path:"pages/card/view/view?cardid="+n+"&aid="+a+"&guid="+o});else{var s=o?"xmp":"card",r="";e.getTokens().then(function(i){var e=i.accesstoken;r="https://api.ibos.cn/v4/weappcard/showqrcode?accesstoken="+e+"&app="+s+"&cardid="+n+"&t="+Date.now(),wx.previewImage({urls:[r]})})}}},{key:"viewGroupon",value:function(i){var e=i.currentTarget.dataset,t=e.id,a=e.index,n=e.type,o=this.page.data.sidebar.site.name,d=+n?"view/view":"preview/preview";"edit"!==this.page.data.mode&&wx.navigateTo({url:"/pages/common/groupon/"+d+"?index="+a+"&grouponid="+t+"&name="+o})}},{key:"viewPanorama",value:function(i){var e=i.currentTarget.dataset.source;wx.navigateTo({url:"/pages/common/VR/view/view?source="+e})}},{key:"showProductBar",value:function(i){var e=i.currentTarget.dataset.item,t=e.sid,a=e.navid,n=e.catid,o=e.cid;this.page.setData({shoppingcartInitData:{sid:t,navid:a,catid:n,cid:o}})}},{key:"redirectToSearch",value:function(){var i=this.page.data.sidebar.site,e=i.sid,t=i.version;wx.navigateTo({url:"/pages/common/search/index/index?sid="+e+"&version="+t})}}]),i}();exports.default=u; 
 			}); 
		define("components/editor/card-selector/card-selector.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={addTo:function(e){var t={},c=0;Object.assign(e,{$$cardSelect:function(e,l){"function"==typeof l&&(t[++c]=l),this.$route("/pages/editor/card-selector/card-selector?callback="+c)},$$cardOnSelect:function(e,c){t[c]&&(t[c].call(null,e),delete t[c])}})}}; 
 			}); 
		define("components/editor/components/actionSheet/actionSheet.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={addTo:function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";Object.assign(this,t);var o=i?i+".$$actionSheet":"$$actionSheet";t.setData(e({},o+".isShown",!1)),Object.assign(t,{$$addApp:function(e){var i=this,o=e.currentTarget.dataset,a=o.type,n=o.sid,r=t.data.$$editor.$$actionSheet.index,d=""+a.charAt(0).toUpperCase()+a.slice(1),s=function(){if("function"!=typeof i["$$editorAdd"+d])throw new Error("Editor apps/marketings type not supported!");i["$$editorAdd"+d](r),i.$$hideAction()};"video"===a?wx.showActionSheet({itemList:["从手机相册选择","从素材库选择"],success:function(e){if(0===e.tapIndex)s();else{i.$$hideAction();i.$addListener("material:video:choose",function(e){i.$removeAllListeners("material:video:choose"),i.$$editorAddSection({type:"video",data:{file:{url:e.source,fieldid:e.aid,cover:e.thumburl},cover:{coverurl:e.thumburl},content:""}},r)}),i.$route("/pages/editor/material/video/video?sid="+n)}}}):"payment"===a?this.$$editorAddSection({type:"application",data:{}},r):s()},$$showActionSheet:function(a,n){var r,d=t.data.$$editor,s=d.marketings,c=d.apps,$="apps"===n?c:s,p="apps"===n?"应用":"营销插件";t.setData((r={},e(r,i+".actionSheetData",$),e(r,o+".title",p),e(r,o+".isShown",!0),e(r,o+".index",a),r))},$$hideAction:function(){t.setData(e({},o+".isShown",!1))}})}}; 
 			}); 
		define("components/editor/coupon-selector/coupon-selector.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=function(t){return t&&t.__esModule?t:{default:t}}(require("../../../utils/api2"));exports.default={addTo:function(e,i){var o=i.sid;this.page=e,Object.assign(e,{$$editorAddCoupon:function(i){t.default.site.coupons.getlists({data:{sid:o}}).then(function(t){e.$$editorAddSection({type:"coupon",data:{list:t}},i)})},$$editorUpdateCoupon:function(i){t.default.site.coupons.getlists({data:{sid:o}}).then(function(t){e.$$editorUpdateSectionData({list:t},i)})}})}}; 
 			}); 
		define("components/editor/editor.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function t(t){return t&&t.__esModule?t:{default:t}}function e(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(exports,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),o=t(require("../../utils/api2")),a=t(require("../../public/utils/authorize")),r=t(require("../../public/utils/qqmap")),d=t(require("./components/actionSheet/actionSheet")),s=t(require("./section-bargaining/section-bargaining")),c=t(require("./card-selector/card-selector")),u=t(require("./coupon-selector/coupon-selector")),$=t(require("./section-groupon/section-groupon")),l=t(require("../link/link")),f=t(require("../image-manager/image-manager")),p=t(require("./section-quicklink/section-quicklink")),h=t(require("./video-manager/video-manager")),g=require("../../utils/plans"),y=t(require("../../utils/util")),v=function(){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,t),this.page=n,this.params=r,this.focused=!1;var v=this,m=wx.getSystemInfoSync();n.setData({$$editor:{toolbarShownIndex:"",types:t.getTypes(),apps:t.getApps(),marketings:t.getMarketings(),sections:[],actionSheetData:[],isIOS:-1!==m.system.toLowerCase().indexOf("ios"),deleteLinkSource:[]}}),n.$addListener("update.editorTypes",function(e){function i(t,e,i){t.forEach(function(n,o){e.some(function(t){return n.type===t})||i.push(t[o])})}var o=e.version,a=t.getTypes(),r=t.getApps(),d=t.getMarketings(),s=[],c=[],u=[];g.VERSION.SINGLE_PAGE===+o?(i(r,["form","quicklink","search","vr"],s),i(a,["marketing","navigation"],u)):g.VERSION.COMPANY_DISPLAY===+o?(i(r,["form","search","vr"],s),i(a,["marketing","navigation"],u)):g.VERSION.CPMPANY_SITE!==+o&&g.VERSION.SERVICE_ORDER!==+o||i(d,["bargaining","groupon"],c),n.setData({"$$editor.apps":s.length?s:r,"$$editor.types":u.length?u:a,"$$editor.marketings":c.length?c:d})}),d.default.addTo(n,"$$editor"),l.default.addTo(n,"$$editor",r),s.default.addTo(n,r),c.default.addTo(n,r),u.default.addTo(n,r),$.default.addTo(n,r),p.default.addTo(n,r),f.default.addTo(n,r),h.default.addTo(n,r),Object.assign(n,{$$onLinkSelect:function(t,e){this.$$editorUpdateSectionData({link:t[0]},e,!0)},$$imageManagerOnChange:function(t,e,i,n){t&&t.length?this.$$editorUpdateSectionData({images:t,model:e,modid:i},n,!0):this.$$editorRemoveSection(n)},$$editorShowToolbar:function(t){this.setData({"$$editor.toolbarShownIndex":t.currentTarget.dataset.index})},$$editorHideToolbar:function(t){this.setData({"$$editor.toolbarShownIndex":""})},$$editorCreateSection:function(t){var e=t.currentTarget.dataset,i=e.type,n=e.index,o=""+i.charAt(0).toUpperCase()+i.slice(1);if("function"!=typeof this["$$editorAdd"+o])throw new Error("Editor section type not supported!");this["$$editorAdd"+o](n),this.$$editorHideToolbar()},$$editorAddSection:function(t,e){Object.assign(t,{id:Date.now()}),this.data.$$editor.sections.splice(e,0,t),this.setData({"$$editor.sections":this.data.$$editor.sections}),v.isFocusableType(t.type)&&this.$$editorFocusIndex(e,t.type)},$$editorUpdateSection:function(t,i){this.setData(e({},"$$editor.sections["+i+"]",t))},$$editorUpdateSectionData:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=this.data.$$editor.sections[e];n&&(n.data=i?Object.assign(n.data,t):t,this.$$editorUpdateSection(n,e))},$$editorUpdateSectionType:function(t,e){var i=this.data.$$editor.sections[e];i&&(i.type=t,this.$$editorUpdateSection(i,e))},$$editorOnRemoveTap:function(t){var e=t.currentTarget.dataset,i=e.index;if("video"===e.type){var n=this.data.$$editor.sections[i].data.file.fieldid;this.data.$$editor.deleteLinkSource.push(n)}this.$$editorRemoveSection(i)},$$editorRemoveSection:function(t){this.data.$$editor.sections.splice(t,1),this.setData({"$$editor.sections":this.data.$$editor.sections})},$$editorDeleteLinkSource:function(t){var e=this;t.length&&o.default.site.attachment.delete({data:{aid:t.join(",")}}).then(function(){e.setData({"$$editor.deleteLinkSource":[]})})},$$editorExchange:function(t){var i,n=t.currentTarget.dataset.index,o=this.data.$$editor.sections;this.setData((i={},e(i,"$$editor.sections["+(n-1)+"]",o[n]),e(i,"$$editor.sections["+n+"]",o[n-1]),i))},$$editorBlurIndex:function(t){var i=this.data.$$editor.sections;this.data.$$editor.sections[t]&&this.setData(e({},"$$editor.sections["+t+"].focus",!1)),i.filter(function(t){return t.focus}).length||v.blur()},$$editorFocusIndex:function(t,i){var n=-1!==m.system.toLowerCase().indexOf("ios");this.data.$$editor.sections[t]&&this.setData(e({},"$$editor.sections["+t+"].focus",!0)),!n||"title"!==i&&"link"!==i?v.focus():v.blur()},$$editorSyncInput:function(t){var i=t.currentTarget.dataset.index;this.data.$$editor.sections[i]&&this.setData(e({},"$$editor.sections["+i+"].data.content",t.detail.value))},$$editorAddTitle:function(t){this.$$editorAddSection({type:"title",data:{content:"",subtitle:"",style:"",selectedArr:[1,2],activeAlignId:1}},t),this.$route("/pages/editor/title/form/form?content=&index="+t)},$$editorEditTitle:function(t){var e=t.currentTarget.dataset,i=e.content,n=e.index;this.$route("/pages/editor/title/form/form?content="+i+"&index="+n)},$$editorAddText:function(t){this.$$editorAddSection({type:"text",data:{content:""}},t),this.$route("/pages/editor/text/content-editor/content-editor?type=text&content=&index="+t)},$$editorEditText:function(t){var e=t.currentTarget.dataset,i=e.content,n=e.index;this.$route("/pages/editor/text/content-editor/content-editor?type=text&content="+i+"&index="+n)},$$editorOnInputBlur:function(t){this.$$editorBlurIndex(t.currentTarget.dataset.index)},$$editorOnInputFocus:function(t){this.$$editorFocusIndex(t.currentTarget.dataset.index)},$$editorOnTextareaFocus:function(t){var e=this,i=t.currentTarget.dataset.index,n=this.data.$$editor.sections[i];setTimeout(function(){e.$$editorUpdateSectionData(Object.assign({},n.data),i,!0)},200),this.$$editorOnInputFocus(t)},$$editorOnTextAreaAndInputBlur:function(t){this.$$editorOnInputBlur(t),this.$$editorSyncInput(t)},$$editorAddImage:function(t){this.data.$$editor.$$imageLayoutPicker?this.setData({"$$editor.$$imageLayoutPicker.key":t,"$$editor.$$imageLayoutPicker.isShown":!0,"$$editor.$$imageLayoutPicker.activeLayout":0}):this.setData({"$$editor.$$imageLayoutPicker":{key:t,isShown:!0,activeLayout:0,layoutList:[{id:1,model:"paved",title:"平铺",desc:"图片纵向平铺，图文混排"},{id:2,model:"swiper",title:"轮播",desc:"多图轮播，自动播放"},{id:3,model:"splicing",title:"拼图",desc:"拼图展示，快速链接至页面等"}]}})},$$editorEditImage:function(t){var e=t.currentTarget.dataset.index,i=this.data.$$editor.sections[e].data,n=i.images,o=i.model,a=void 0===o?"swiper":o,r=i.modid,d=void 0===r?1:r;this.$$imageManagerEdit(n,a,d,e)},$$editorOnImageSwiperChange:function(t){var e=t.currentTarget.dataset.index,i=t.detail.current;this.$$editorUpdateSectionData({current:i},e,!0)},$$editorAddLocation:function(t){var e=this;wx.chooseLocation({success:function(i){e.$$editorAddSection(v.createLocationData(i),t)},fail:function(t){return a.default.userLocation(t,function(t){return e.$$editorAddLocation(t)})}})},$$editorUpdateLocation:function(t){var e=this,i=t.currentTarget.dataset.index;wx.chooseLocation({success:function(t){e.$$editorUpdateSection(v.createLocationData(t),i)},fail:function(t){return a.default.userLocation(t,function(t){return e.editorUpdateLocation(t)})}})},$$editorOpenLocation:function(t){var e=this,i=t.currentTarget.dataset.item.data;wx.openLocation(Object.assign({scale:15,fail:function(t){return a.default.userLocation(t,function(t){return e.$$editorOpenLocation(t)})}},i))},$$editorAddLink:function(t){this.$$editorAddSection({type:"link",data:{content:""}},t)},$$editorOnLinkInput:function(t){var i=t.currentTarget.dataset.index;if(this.data.$$editor.sections[i]){var n=t.detail.value;this.setData(e({},"$$editor.sections["+i+"].data.content",n.slice(0,20)))}},$$editorOnLinkBlur:function(t){this.$$editorOnLinkInput(t),this.$$editorOnInputBlur(t)},$$editorAddCard:function(t){var e=this;this.$$cardSelect([],function(i){e.$$editorAddSection({type:"contact",data:i[0]},t)})},$$editorUpdateCard:function(t){var e=this,i=t.currentTarget.dataset.key,n=this.data.$$editor.sections[i].data;this.$$cardSelect([n.cardid],function(t){e.$$editorUpdateSectionData(t[0],i)})},$$editorAddVideo:function(t){var e=r.sid||0;this.$$uploadVideo(t,"add",e,"")},$$editorAddVr:function(t){var e=r.sid||0;this.$route("/pages/editor/vr/list/list?index="+t+"&sid="+e)},$$editorUpdateVR:function(t){var e=t.currentTarget.dataset.key,i=this.data.$$editor.sections[e].data,n=i.aid,o=i.source,a=i.thumburl,d=i.spec,s=r.sid||0;this.$route("/pages/editor/vr/form/form?aid="+n+"&sid="+s+"&source="+o+"&thumburl="+a+"&spec="+d+"&index="+e+"&mode=update")},$$editorAddNavigation:function(t){this.$route("/pages/editor/navigation/nav-list/nav-list?key="+t+"&mode=add")},$$editorUpdateNavigation:function(t){var e=t.currentTarget.dataset.key,i=this.data.$$editor.sections[e].data,n=i.nav,o=i.category,a=n.nav,r=a.sid,d=a.navid,s=a.modid,c=a.template,u=4==+s?o||"services_project":c;this.$route("/pages/editor/navigation/content-list/content-list?key="+e+"&sid="+r+"&navid="+d+"&modid="+s+"&mode=edit&category="+u)},$$editorUpdateNavLayout:function(t){var e=this,i=t.currentTarget.dataset.key,n=this.data.$$editor.sections[i].data,o=n.nav,a=n.category,r=o.nav.modid,d=void 0;d=5==+r?["田字格","大图模式","列表"]:4==+r&&"services_staff"===a?["田字格","轮播"]:["列表","田字格"],wx.showActionSheet({itemList:d,success:function(t){var o=t.tapIndex;e.$$editorUpdateSectionData(Object.assign({},n,{layout:o+1}),i)}})},$$editorAddApplication:function(t){this.$$showActionSheet(t,"apps")},$$editorAddMarketing:function(t){this.$$showActionSheet(t,"marketing")},$$editorAddQuicklink:function(t){this.$$editorAddSection({type:"quicklink",data:[]},t),this.$route("/pages/editor/quicklink/quick-link/quick-link?sid="+r.sid+"&index="+t)},$$editorUpdateQuicklink:function(t){var e=t.currentTarget.dataset.key;this.$$quicklinkEdit(e)},$$editorUpdateQCLayout:function(t){var e=t.currentTarget.dataset.key;this.$$updateQCLayout(e)},$$editorAddForm:function(t){var e=this;this.$route("/pages/editor/form/list/list?sid="+r.sid),this.$removeListener("form:select"),this.$addListener("form:select",function(i){var n={type:"form",data:i};e.$$hasEqualForm(n)?setTimeout(function(){y.default.qAlert("同一个页面不能多次引用同一个表单")},200):e.$$editorAddSection(n,t)})},$$editorChangeForm:function(t){var e=this,i=t.currentTarget.dataset.index;this.$route("/pages/editor/form/list/list?sid="+r.sid),this.$removeListener("form:select"),this.$addListener("form:select",function(t){var n={type:"form",data:t};e.$$hasEqualForm(n)?setTimeout(function(){y.default.qAlert("同一个页面不能多次引用同一个表单")},200):e.$$editorUpdateSection(n,i)})},$$hasEqualForm:function(t){return-1!==this.data.$$editor.sections.filter(function(t){return"form"===t.type}).findIndex(function(e){return e.data.form.formid===t.data.form.formid})},$$editorAddSearch:function(t){var e=this;this.$$editorAddSection({type:"search",data:[]},t),setTimeout(function(){e.$$gotoSearchSettings(t)},30)},$$editorSearchSettings:function(t){var e=t.currentTarget.dataset.index;this.$$gotoSearchSettings(e)},$$gotoSearchSettings:function(t){this.$route("/pages/editor/search/settings/settings?index="+t+"&sid="+r.sid)},$$editorAddRaffle:function(t){this.$$editorAddSection({type:"raffle",data:{}},t)}})}return n(t,null,[{key:"getTypes",value:function(){return[{type:"title",desc:"标题"},{type:"text",desc:"文本"},{type:"image",desc:"图片"},{type:"marketing",desc:"营销"},{type:"application",desc:"应用"},{type:"navigation",desc:"栏目"}]}},{key:"getApps",value:function(){return[{type:"location",desc:"位置"},{type:"card",desc:"名片"},{type:"video",desc:"视频"},{type:"form",desc:"表单"},{type:"quicklink",desc:"导航"},{type:"search",desc:"搜索"},{type:"vr",desc:"VR全景"}]}},{key:"getMarketings",value:function(){return[{type:"payment",desc:"买单"},{type:"coupon",desc:"优惠券"},{type:"groupon",desc:"拼团"},{type:"bargaining",desc:"砍价"},{type:"raffle",desc:"抽奖"}]}},{key:"getFocusableTypes",value:function(){return["link"]}}]),n(t,[{key:"blur",value:function(){this.focused&&(this.focused=!1,this.onBlur())}},{key:"focus",value:function(){this.focused||(this.focused=!0,this.onFocus())}},{key:"isFocusableType",value:function(t){return-1!==this.constructor.getFocusableTypes().indexOf(t)}},{key:"createLocationData",value:function(t){var e={type:"location",data:{address:t.address,latitude:t.latitude,longitude:t.longitude,name:t.name}};return this.addLocationStaticMapUrl(e)}},{key:"validSectionFilter",value:function(t){return"title"===t.type||"text"===t.type?""!==t.data.content.trim():"link"!==t.type||t.data.link}},{key:"fillLinkContent",value:function(t){return t&&"link"===t.type&&!t.data.content.trim()&&t.data.link&&(t.data.content=t.data.link.title),t}},{key:"addLocationStaticMapUrl",value:function(t){var e=t.data,i=e.latitude,n=e.longitude,o=wx.getSystemInfoSync().screenWidth;return t&&"location"===t.type&&(t.url=r.default.createUrl({size:o+"*150",markers:"size:large|color:red|"+i+","+n})),t}},{key:"removeLocationStaticMapUrl",value:function(t){t&&"location"===t.type&&delete t.url}},{key:"formatData",value:function(t){var e=this;return(t=t.filter(this.validSectionFilter)).forEach(function(t){e.fillLinkContent(t),delete t.focus}),t}},{key:"parseData",value:function(t){return t.forEach(this.addLocationStaticMapUrl),t}},{key:"getData",value:function(){var t=this.page.data.$$editor.sections;return t&&t.length?(t=JSON.parse(JSON.stringify(t)),this.formatData(t)):[]}},{key:"setData",value:function(t){t=JSON.parse(JSON.stringify(t)),this.page.setData({"$$editor.sections":this.parseData(t)})}}]),t}();exports.default=v; 
 			}); 
		define("components/editor/section-bargaining/section-bargaining.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var i=function(i){return i&&i.__esModule?i:{default:i}}(require("../../../utils/api2"));exports.default={addTo:function(t,s){var a=s.sid;Object.assign(t,{$$getBargainingList:function(){return this.BargainingListPromise||(this.BargainingListPromise=i.default.site.bargain.lists({data:{sid:a,status:"starting",offset:0,limit:4,isadmin:1},desc:"获取活动列表"})),this.BargainingListPromise},$$editorAddBargaining:function(i){var t=this;this.$$getBargainingList().then(function(s){var a=s.lists;t.$$editorAddSection({type:"bargaining",data:{list:a}},i)})}})}}; 
 			}); 
		define("components/editor/section-form/section-form.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}Object.defineProperty(exports,"__esModule",{value:!0});var t=function(e){return e&&e.__esModule?e:{default:e}}(require("../../../utils/util"));exports.default={$$formPreset:{},$$submitForm:function(e){var i=this,a=e.currentTarget.dataset,r=a.form,n=a.fields,o=a.preset;this.$$formPreset=o;var s=this.$$verifyForm(n);if(s)t.default.qAlert(s);else{var u=n.map(function(e){return{fieldid:+e.fieldid,value:e.value}}),d=getCurrentPages();setTimeout(function(){i.$emit("form:submit",{formid:r.formid,datas:u,fields:n,route:d[d.length-1].route})},100)}},$$verifyForm:function(e){for(var t=0;t<e.length;t++){var i=e[t];if(1==+i.isrequire&&!i.value)return i.construct.hint||i.title}return""},$$formHourPickerChange:function(t){var i=t.currentTarget.dataset,a=i.preset,r=i.fieldindex,n=i.range,o=t.detail.value,s=n[0][o[0]]+" "+n[1][o[1]]+":"+n[2][o[2]]+":00";this.setData(e({},a.position+"["+a.index+"].data.fields["+r+"].value",s))},$$formDatePickerChange:function(t){var i=t.currentTarget.dataset,a=i.preset,r=i.fieldindex;this.setData(e({},a.position+"["+a.index+"].data.fields["+r+"].value",t.detail.value))},$$setFormInputValue:function(t){var i,a=t.currentTarget.dataset,r=a.preset,n=a.fieldindex;this.setData((i={},e(i,r.position+"["+r.index+"].data.fields["+n+"].value",t.detail.value),e(i,r.position+"["+r.index+"].data.fields["+n+"].focusing",!1),i))},$$setFormTextareaFocus:function(t){var i=t.currentTarget.dataset,a=i.preset,r=i.fieldindex;this.setData(e({},a.position+"["+a.index+"].data.fields["+r+"].focusing",!0))},$$handleFormSingleChoice:function(t){var i=t.currentTarget.dataset,a=i.preset,r=i.fieldindex;this.setData(e({},a.position+"["+a.index+"].data.fields["+r+"].value",t.detail.value))},$$handleFormMultipleChoice:function(e){this.$$handleFormChoice(e,"multiple")},$$handleFormChoice:function(t,i){var a,r=t.currentTarget.dataset,n=r.preset,o=r.index,s=r.fieldindex,u=r.options,d=1==+u[o].isdefault?0:1,l=[];("single"!==i||d)&&((u=u.map(function(e,t){return t===o?e.isdefault=d:"single"===i&&(e.isdefault=1==+d?0:1),e})).forEach(function(e){1==+e.isdefault&&l.push(e.value)}),this.setData((a={},e(a,n.position+"["+n.index+"].data.fields["+s+"].construct.option",u),e(a,n.position+"["+n.index+"].data.fields["+s+"].value",l.join(",")),a)))},$$clearForm:function(t){var i=this.$$formPreset,a=t.map(function(e){return e.value="",3!=+e.type&&4!=+e.type||(e.construct.option=e.construct.option.map(function(e){return e.isdefault=0,e})),e});this.setData(e({},i.position+"["+i.index+"].data.fields",a))}}; 
 			}); 
		define("components/editor/section-groupon/section-groupon.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=function(t){return t&&t.__esModule?t:{default:t}}(require("../../../utils/api2"));exports.default={addTo:function(i,s){var o=s.sid;Object.assign(i,{$$getGrouponList:function(){return this.GrouponListPromise||(this.GrouponListPromise=t.default.site.groupon.lists({data:{sid:o,status:"starting",offset:0,limit:4},desc:"获取活动列表"})),this.GrouponListPromise},$$editorAddGroupon:function(t){var i=this;this.$$getGrouponList().then(function(s){var o=s.lists;i.$$editorAddSection({type:"groupon",data:{list:o}},t)})}})}}; 
 			}); 
		define("components/editor/section-image/layout-picker/layout-picker.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=function(e){return e&&e.__esModule?e:{default:e}}(require("../../../../utils/api2"));exports.default={$$imageHideLayoutPicker:function(){this.setData({"$$editor.$$imageLayoutPicker.isShown":!1})},$$imageSelectLayout:function(e){var a=e.currentTarget.dataset.index;this.setData({"$$editor.$$imageLayoutPicker.activeLayout":a})},$$chooseImageSource:function(e){var a=this;e.currentTarget.dataset.sid?wx.showActionSheet({itemList:["拍照","从手机相册选择","从素材库选择"],success:function(e){var t=e.tapIndex;if(a.setData({"$$editor.$$imageLayoutPicker.isShown":!1}),0===t||1===t)a.$$chooseImageFromLocal(0==t?"camera":"album");else{a.$addListener("material:image:choose",function(e){a.$removeAllListeners("material:image:choose");var t=e.map(function(e){return{desc:"",link:null,url:e.source,fieldid:e.aid}});a.$$handleChooseImages(t)});var i=a.data.sidebar.site.sid,o=a.data.$$editor.$$imageLayoutPicker,r=o.activeLayout,n=o.layoutList[r].model;a.$route("/pages/editor/material/image/image?sid="+i+"&model="+n)}}}):console.error("no sid")},$$handleChooseImages:function(e){var a=this.data.sidebar.site.sid,t=this.data.$$editor.$$imageLayoutPicker,i=t.activeLayout,o=t.layoutList,r=t.key,n=o[i].model;"paved"!==n&&(e=e.slice(0,"splicing"===n?5:9),this.$$editorAddSection({type:"image",data:{images:e,modid:1,current:0}},r)),this.$$imageManagerData=e,wx.redirectTo({url:"/pages/editor/image-manager/image-manager?sid="+a+"&model="+n+"&modid=1&key="+r})},$$chooseImageFromLocal:function(){var e=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"camera",t=this.data.sidebar.site.sid,i=this.data.$$editor.$$imageLayoutPicker,o=i.activeLayout,r=i.layoutList,n=i.key,s=r[o].model;wx.chooseImage({count:"splicing"===s?5:9,sizeType:["compressed"],sourceType:[a],success:function(a){var i=e._filterImages(a.tempFiles);i.length?e.uploadImage(i).then(function(a){wx.hideLoading(),"paved"!==s&&e.$$editorAddSection({type:"image",data:{images:a,model:s,modid:1,current:0}},n),e.$$imageManagerData=a,e.$route("/pages/editor/image-manager/image-manager?sid="+t+"&model="+s+"&modid=1&key="+n)}):wx.hideLoading()}})},uploadImage:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return a.length?(wx.showLoading({title:"上传图片中..."}),Promise.all(a.map(function(a){return e.default.site.attachment.upload({data:{file:a,recordid:""},upload:"file"})})).then(function(e){var a=[];return e.forEach(function(e){var t=e.fieldid,i=e.url;a.push({fieldid:t,url:i,desc:"",link:null})}),e.length!==a.length?new Promise(function(t){wx.showModal({content:e.length-a.length+"上传失败",showCancel:!1,success:function(){t(a)}})}):a})):Promise.reject("文件路径错误")},_filterImages:function(e){var a=[],t=0;return e.forEach(function(e){e.size>2e6?t+=1:a.push(e.path)}),t&&wx.showModal({title:"上传提示",content:"部分上传图片大于2M, 请压缩后上传",showCancel:!1,confirmText:"知道了"}),a}}; 
 			}); 
		define("components/editor/section-quicklink/section-quicklink.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}function t(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}Object.defineProperty(exports,"__esModule",{value:!0});var i=e(require("../../../utils/util")),a=e(require("../../../utils/config"));exports.default={addTo:function(e,s){e.$addListener("quicklink.update",function(i,a){e.data.$$editor.sections.forEach(function(s,d){if("quicklink"===s.type){var n=s.data,r=n.findIndex(function(e){return e.linkid===i.linkid});-1!==r&&(0===a?e.setData(t({},"$$editor.sections["+d+"].data["+r+"]",i)):(n.splice(r,r+1),e.setData(t({},"$$editor.sections["+d+"].data",n))))}})}),Object.assign(e,{$$quicklinkEdit:function(e){this.$route("/pages/editor/quicklink/quick-link/quick-link?sid="+s.sid+"&index="+e+"&mode=0")},$$updateQCLayout:function(i){wx.showActionSheet({itemList:["图形按钮","方块矩阵","文字浮层"],success:function(a){var s=a.tapIndex;e.setData(t({},"$$editor.sections["+i+"].layoutid",s+1))}})},$$gotoQuicklink:function(t){var s=getCurrentPages();if("view"===s[s.length-1].data.mode){var d=t.currentTarget.dataset.quicklink,n=d.params;4==+n.modid&&n.cid?(n.id=n.cid,delete n.cid):5==+n.modid&&(n.caseid=n.cid);var r=i.default.createModelUrl(a.default.model,Object.assign({},n,{sid:d.sid})),o=1==+n.id,c=e.data.sidebar.site,u=c.address,l=c.addresslat,p=c.addresslng,m=e.data.site,k=m.tel,f=m.sid,g=m.app,$=m.mchid;switch(d.type){case"nav":case"page":this.$route(r,o?"redirect":"go");break;case"mobile":wx.makePhoneCall({phoneNumber:k||""});break;case"map":wx.openLocation({address:u,latitude:l,longitude:p});break;case"members":this.$route("/pages/profile-entry/members/members?sid="+f);break;case"cart":this.$route("/pages/common/shopping-cart/shopping-cart?origin=tab&sid="+f+"&app="+g+"&mchid="+$);break;case"payment":this.$route("/pages/common/payment/payment?sid="+f)}}}})}}; 
 			}); 
		define("components/editor/video-manager/video-manager.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}function t(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function i(e,t,i,o,r){return n.default.site.attachment.create({data:{source:e,type:t||"3",name:i,size:o,sid:r},desc:"保存视频"})}function o(){return new Promise(function(e,t){wx.chooseVideo({success:function(t){var i=t.tempFilePath,o=t.size,n=getApp().globalData.tokens.uid,u=i.slice(i.lastIndexOf("."),i.length),d="site/"+n+"/videos/";Math.floor(o/1e3/1e3)<=a.default.maxSize?r.default.uploadFile(i,d,u,function(t,i){e({ossurl:t,filename:i,size:o})},function(e){wx.showModal({title:"保存视频失败",content:e.errMsg,showCancel:!1}),console.error(e)}):wx.showModal({title:"上传出错",content:"上传的视频大小已超过"+a.default.maxSize+"M，允许上传视频时长约60秒",showCancel:!1})},fail:t})})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.$$uploadVideoToAliyun=o;var n=e(require("../../../utils/api2")),r=e(require("../../../utils/uploadFileToAliyun/upload")),a=e(require("../../../utils/uploadFileToAliyun/env"));exports.default={addTo:function(e){Object.assign(e,{$$uploadVideo:function(e,t,n,r,a){var u=this;return new Promise(function(d,l){o().then(function(o){var l=o.ossurl,s=o.filename,c=o.size;i(l,"3",s,c,n).then(function(i){var o={url:l,fieldid:i.fieldid,cover:i.thumburl};"add"===t?(u.$$editorAddSection({type:"video",data:{file:o,cover:{coverurl:i.thumburl},content:""}},e),u.$route("/pages/editor/video/form/form?index="+e)):u.$$editorUpdateSectionData(Object.assign({},{file:o,cover:a,content:r}),e,!0),d(o)})})})},$$editorUpdateVideo:function(e){var t=e.currentTarget.dataset.index;this.$route("/pages/editor/video/form/form?index="+t)},$$editorPlayVideo:function(e){var t=e.currentTarget.dataset.url;this.$route("/pages/components/video-view/video-view?url="+t)},$$editorOnVideoDescInputBlur:function(e){var i=e.detail.value,o=e.currentTarget.dataset.index,n=void 0;i.length>20&&(n=i.slice(0,20)),this.setData(t({},"$$editor.sections["+o+"].data.content",n||i))}})}}; 
 			}); 
		define("components/image-manager/image-manager.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("../../utils/api2")),a=e(require("../editor/section-image/layout-picker/layout-picker"));exports.default={addTo:function(e,t){Object.assign(e,a.default,{$$imageManagerEdit:function(e,a,n,i){this.$$imageManagerData=e,this.$route("/pages/editor/image-manager/image-manager?sid="+t.sid+"&model="+a+"&modid="+n+"&key="+i)},$$imageManagerOnChange:function(e){console.log("image manager change",e)}})},uploadImage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.length?(wx.showLoading({title:"上传图片中..."}),Promise.all(e.map(function(e){return t.default.site.attachment.upload({data:{file:e,recordid:""},upload:"file",complete:wx.hideLoading})})).then(function(e){var t=[];return e.forEach(function(e){var a=e.fieldid,n=e.url;t.push({fieldid:a,url:n,desc:"",link:null})}),e.length!==t.length?new Promise(function(a){wx.showModal({content:e.length-t.length+"上传失败",showCancel:!1,success:function(){a(t)}})}):t})):Promise.reject("文件路径错误")}}; 
 			}); 
		define("components/link/link.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}Object.defineProperty(exports,"__esModule",{value:!0});var t=function(e){return e&&e.__esModule?e:{default:e}}(require("../../utils/api2"));exports.default={addTo:function(i){var n,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=s?s+".$$link":"$$link";i.setData((n={},e(n,l+".menuShown",!1),e(n,l+".menu",[]),n)),Object.assign(i,{$$linkGetNavs:function(){return this.$$linkNavsPromise||(this.$$linkNavsPromise=t.default.site.nav.lists({data:{sid:a.sid},desc:"加载"})),this.$$linkNavsPromise},$$linkShowMenu:function(t){this.$$linkTempKey=t.currentTarget.dataset.key,this.$$linkTempType=t.currentTarget.dataset.type,this.setData(e({},l+".menuShown",!0))},$$linkHideMenu:function(){this.setData(e({},l+".menuShown",!1))},$$linkAttach:function(e){var t=this,i=e.currentTarget.dataset.index;0===i?this.$route("/pages/editor/link-page/link-page?sid="+a.sid+"&key="+this.$$linkTempKey):1===i?this.$route("/pages/editor/link-site/link-site?sid="+a.sid+"&key="+this.$$linkTempKey+"&type="+this.$$linkTempType):2===i?this.__$$getapplist(a.sid).then(function(e){if(e.length){var i=e[0].appid;t.$route("/pages/editor/link-app/link-app?sid="+a.sid+"&appid="+i+"&key="+t.$$linkTempKey)}else wx.showModal({content:"暂无已发布独立小程序",showCancel:!1,confirmText:"我知道了"})}):this.$$linkDetach()},$$linkDetach:function(e){this.$$onLinkSelect([],this.$$linkTempKey)},$$onLinkSelect:function(e,t){console.log("已选中链接",e,t)},__$$getapplist:function(e){return new Promise(function(i,n){t.default.site.miniapp.lists({data:{sid:e}}).then(function(e){var t=e.applists;t=t.filter(function(e){return!["apply","authornotcomplete"].includes(e.status)}),i(t||[])})})}})}}; 
 			}); 
		define("components/navigation-bar/mixin.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.navigationMixIn={addTo:function(s){s.setData({sidebar:{status:!1,isfocus:!1,navs:[],site:{name:null,logo:null}}}),Object.assign(s,{initNavigation:function(s,a){this.setData({sidebar:{status:!1,isfocus:s.isfocus,navs:a,site:Object.assign({},s,{navs:a,app:this.data.app})},sidebarReady:!0})}})}}; 
 			}); 
		define("components/order-navbar/order-navbar.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=function(t){return t&&t.__esModule?t:{default:t}}(require("../../utils/order-util"));exports.default={addTo:function(e){e.setData({orderNavTags:t.default.orderNavTags,activeStatus:"all"}),Object.assign(e,{toggleStatus:function(t){var e=t.currentTarget.dataset.status;this.loadOrderList(e)}})}}; 
 			}); 
		define("components/searchbar/searchbar.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(exports,"__esModule",{value:!0});exports.default=function n(a){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"searchbar",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t(this,n),a.setData(e({},r,{keyword:"",inputShowed:!1}));var i="function"==typeof o.onKeywordInput;Object.assign(a,{$$searchbarInputTyping:function(t){this.setData(e({},r+".keyword",t.detail.value)),i&&o.onKeywordInput(t.detail.value)},$$searchbarClearInput:function(){this.setData(e({},r+".keyword",""))},$$searchbarShowInput:function(){this.setData(e({},r+".inputShowed",!0))},$$searchbarHideInput:function(){var t;this.setData((t={},e(t,r+".keyword",""),e(t,r+".inputShowed",!1),t))}})}; 
 			}); 
		define("components/we-cropper/we-cropper/we-cropper.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(e,o){"object"===("undefined"==typeof exports?"undefined":t(exports))&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):e.WeCropper=o()}(void 0,function(){function e(t){return"function"==typeof t}function o(t){return t.charAt(0).toUpperCase()+t.slice(1)}function n(t){for(var e=[],o=arguments.length-1;o-- >0;)e[o]=arguments[o+1];u.forEach(function(o,n){void 0!==e[n]&&(t[o]=e[n])})}function i(t,e){Object.defineProperties(t,e)}function r(t,e,o){var n=null,i=null;return function(){var r=+new Date;i||(i=r),r-i>o?(n&&clearTimeout(n),i=r,t.apply(this,arguments)):(n&&clearTimeout(n),n=setTimeout(function(){t.apply(this,arguments)},e))}}function a(){return c||(c=wx.getSystemInfoSync()),c}var c=void 0,u=["touchstarted","touchmoved","touchended"],d={},h={id:{default:"cropper",get:function(){return d.id},set:function(t){"string"!=typeof t&&console.error("id："+t+" is invalid"),d.id=t}},width:{default:750,get:function(){return d.width},set:function(t){"number"!=typeof t&&console.error("width："+t+" is invalid"),d.width=t}},height:{default:750,get:function(){return d.height},set:function(t){"number"!=typeof t&&console.error("height："+t+" is invalid"),d.height=t}},scale:{default:2.5,get:function(){return d.scale},set:function(t){"number"!=typeof t&&console.error("scale："+t+" is invalid"),d.scale=t}},zoom:{default:5,get:function(){return d.zoom},set:function(t){"number"!=typeof t?console.error("zoom："+t+" is invalid"):(t<0||t>10)&&console.error("zoom should be ranged in 0 ~ 10"),d.zoom=t}},src:{default:"cropper",get:function(){return d.src},set:function(t){"string"!=typeof t&&console.error("id："+t+" is invalid"),d.src=t}},cut:{default:{},get:function(){return d.cut},set:function(e){"object"!==(void 0===e?"undefined":t(e))&&console.error("id："+e+" is invalid"),d.cut=e}},onReady:{default:null,get:function(){return d.ready},set:function(t){d.ready=t}},onBeforeImageLoad:{default:null,get:function(){return d.beforeImageLoad},set:function(t){d.beforeImageLoad=t}},onImageLoad:{default:null,get:function(){return d.imageLoad},set:function(t){d.imageLoad=t}},onBeforeDraw:{default:null,get:function(){return d.beforeDraw},set:function(t){d.beforeDraw=t}}},s=function(t,e,o,n,i){var r,a,c;return r=Math.round(i.x-n.x),a=Math.round(i.y-n.y),c=Math.round(Math.sqrt(r*r+a*a)),t+.001*o*(c-e)},l={touchStart:function(t){var e=this,o=t.touches,i=o[0],r=o[1];n(e,!0,null,null),e.__oneTouchStart(i),t.touches.length>=2&&e.__twoTouchStart(i,r)},touchMove:function(t){var e=this,o=t.touches,i=o[0],r=o[1];n(e,null,!0),1===t.touches.length&&e.__oneTouchMove(i),t.touches.length>=2&&e.__twoTouchMove(i,r)},touchEnd:function(t){var e=this;n(e,!1,!1,!0),e.__xtouchEnd()}},f=function(t,e){var o=this,n={};return i(o,h),Object.keys(h).forEach(function(t){n[t]=h[t].default}),Object.assign(o,n,t),o.inWitchComponent=e,o.prepare(),o.attachPage(),o.createCtx(),o.observer(),o.cutt(),o.methods(),o.init(),o.update(),o};return f.prototype.init=function(){var t=this,e=t.src;return t.version="1.2.0","function"==typeof t.onReady&&t.onReady(t.ctx,t),e&&t.pushOrign(e),n(t,!1,!1,!1),t.oldScale=1,t.newScale=1,t},Object.assign(f.prototype,l),f.prototype.prepare=function(){var t=this,e=a().windowWidth;t.attachPage=function(){var e=getCurrentPages();e[e.length-1].wecropper=t},t.createCtx=function(){var e=t.id;e?t.ctx=wx.createCanvasContext(e,t.inWitchComponent):console.error("constructor: create canvas context failed, 'id' must be valuable")},t.deviceRadio=e/750},f.prototype.observer=function(){var t=this,e=["ready","beforeImageLoad","beforeDraw","imageLoad"];t.on=function(n,i){return e.indexOf(n)>-1?"function"==typeof i&&("ready"===n?i(t):t["on"+o(n)]=i):console.error("event: "+n+" is invalid"),t}},f.prototype.methods=function(){var t=this,o=t.id,n=t.deviceRadio,i=t.width,a=t.height,c=t.cut,u=c.x;void 0===u&&(u=0);var d=c.y;void 0===d&&(d=0);var h=c.width;void 0===h&&(h=i);var s=c.height;void 0===s&&(s=a),t.updateCanvas=r(function(){return t.croperTarget&&t.ctx.drawImage(t.croperTarget,t.imgLeft,t.imgTop,t.scaleWidth,t.scaleHeight),e(t.onBeforeDraw)&&t.onBeforeDraw(t.ctx,t),t.setBoundStyle(c),t.ctx.draw(),t},0,0),t.pushOrign=function(o){return t.src=o,e(t.onBeforeImageLoad)&&t.onBeforeImageLoad(t.ctx,t),wx.getImageInfo({src:o,success:function(o){var n=o.width/o.height;t.croperTarget=o.path,n<h/s?(t.rectX=u,t.baseWidth=h,t.baseHeight=h/n,t.rectY=d-Math.abs((s-t.baseHeight)/2)):(t.rectY=d,t.baseWidth=s*n,t.baseHeight=s,t.rectX=u-Math.abs((h-t.baseWidth)/2)),t.imgLeft=t.rectX,t.imgTop=t.rectY,t.scaleWidth=t.baseWidth,t.scaleHeight=t.baseHeight,t.updateCanvas(),e(t.onImageLoad)&&t.onImageLoad(t.ctx,t)}}),t.update(),t},t.getCropperImage=function(){for(var i=[],r=arguments.length;r--;)i[r]=arguments[r];var a=toString.call(i[0]),c=i[i.length-1];switch(a){case"[object Object]":var l=i[0].quality;void 0===l&&(l=10),"number"!=typeof l?console.error("quality："+l+" is invalid"):(l<0||l>10)&&console.error("quality should be ranged in 0 ~ 10"),wx.canvasToTempFilePath({canvasId:o,x:u+1,y:d+1,width:h-2,height:s-2,destWidth:(h-2)*l/(10*n),destHeight:(s-2)*l/(10*n),success:function(o){e(c)&&c.call(t,o.tempFilePath)},fail:function(o){e(c)&&c.call(t,null)}},t.inWitchComponent);break;case"[object Function]":wx.canvasToTempFilePath({canvasId:o,x:u+4,y:d+4,width:h-8,height:s-8,destWidth:(h-8)/n,destHeight:(s-8)/n,success:function(o){console.log("wx.canvasToTempfilePath res: ",o),e(c)&&c.call(t,o.tempFilePath)},fail:function(o){e(c)&&c.call(t,null)}},t.inWitchComponent)}return t}},f.prototype.cutt=function(){var t=this,e=t.width,o=t.height,n=t.cut,i=n.x;void 0===i&&(i=0);var r=n.y;void 0===r&&(r=0);var a=n.width;void 0===a&&(a=e);var c=n.height;void 0===c&&(c=o),t.outsideBound=function(e,o){t.imgLeft=e>=i?i:t.scaleWidth+e-i<=a?i+a-t.scaleWidth:e,t.imgTop=o>=r?r:t.scaleHeight+o-r<=c?r+c-t.scaleHeight:o},t.setBoundStyle=function(n){void 0===n&&(n={});var u=n.color;void 0===u&&(u="#04b00f");var d=n.mask;void 0===d&&(d="rgba(0, 0, 0, .5)");var h=n.lineWidth;void 0===h&&(h=0),n.x,n.y,n.x,n.y,n.x,n.y,n.x,n.y,n.x,n.y,n.x,n.y,n.x,n.height,n.y,n.x,n.height,n.y,n.x,n.height,n.y,n.x,n.height,n.y,n.x,n.height,n.y,n.x,n.height,n.y,t.ctx.beginPath(),t.ctx.setFillStyle(d),t.ctx.fillRect(0,0,i,o),t.ctx.fillRect(i,0,a,r),t.ctx.fillRect(i,r+c,a,o-r-c),t.ctx.fillRect(i+a,0,e-i-a,o),t.ctx.fill(),t.ctx.setStrokeStyle("#09bb07"),t.ctx.setLineWidth(1),t.ctx.moveTo(n.x,n.y),t.ctx.rect(n.x,n.y,n.width,n.height),t.ctx.stroke()}},f.prototype.update=function(){var t=this;t.src&&(t.__oneTouchStart=function(e){t.touchX0=Math.round(e.x),t.touchY0=Math.round(e.y)},t.__oneTouchMove=function(e){var o,n;if(t.touchended)return t.updateCanvas();o=Math.round(e.x-t.touchX0),n=Math.round(e.y-t.touchY0);var i=Math.round(t.rectX+o),r=Math.round(t.rectY+n);t.outsideBound(i,r),t.updateCanvas()},t.__twoTouchStart=function(e,o){var n,i,r;t.touchX1=Math.round(t.rectX+t.scaleWidth/2),t.touchY1=Math.round(t.rectY+t.scaleHeight/2),n=Math.round(o.x-e.x),i=Math.round(o.y-e.y),r=Math.round(Math.sqrt(n*n+i*i)),t.oldDistance=r},t.__twoTouchMove=function(e,o){var n=t.oldScale,i=t.oldDistance,r=t.scale,a=t.zoom;t.newScale=s(n,i,a,e,o),t.newScale<=1&&(t.newScale=1),t.newScale>=r&&(t.newScale=r),t.scaleWidth=Math.round(t.newScale*t.baseWidth),t.scaleHeight=Math.round(t.newScale*t.baseHeight);var c=Math.round(t.touchX1-t.scaleWidth/2),u=Math.round(t.touchY1-t.scaleHeight/2);t.outsideBound(c,u),t.updateCanvas()},t.__xtouchEnd=function(){t.oldScale=t.newScale,t.rectX=t.imgLeft,t.rectY=t.imgTop})},f}); 
 			}); 
		define("public/components/canvas-image/canvas-image.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default={onStart:function(t){var i=t.touches,h=this.boxWidth,s=this.boxHeight,a=i[0],e=a.x,n=a.y;e>h-80&&s-20<n||(this.move=1===i.length,this.move&&(this.startX=e,this.startY=n,this.situ=!0))},onMove:function(t){var i=t.touches;if(this.move){var h=i[0].x-this.startX,s=i[0].y-this.startY;(Math.abs(h)>4||Math.abs(s)>4)&&(this.situ=!1),this.translate(h,s)}},onEnd:function(){this.move&&this.situ&&this.takeShot(),this.move=!1},rotateImage:function(){this.rotate()},init:function(){var t=wx.getSystemInfoSync(),i=t.windowWidth,h=t.windowHeight,s=i-20,a=Math.ceil(.37*h-20),e=Math.ceil(1920*s/1080),n=Math.ceil((s-a)/2);this.imgWidth=s,this.imgHeight=e,this.dis=n,this.boxWidth=s,this.boxHeight=a},start:function(){this.index=2,this.rotate()},rotate:function(){this.index+=1;var t=this.index,i=this.boxWidth,h=this.boxHeight,s=this.dis,a=0,e=0;switch(t%4){case 1:a=s+h,e=-s;break;case 2:a=i,e=h;break;case 3:a=s,e=s+h}this.x=a,this.y=e,this.repaint(a,e)},translate:function(t,i){var h=this.index,s=this.boxWidth,a=this.boxHeight,e=this.imgHeight;this.ctx.clearRect(0,0,s,a);var n=void 0,o=void 0;switch(h%4){case 0:n=this.x,o=this.y+i,o=Math.min(o,(e-a)/2),o=Math.max(o,-a);break;case 1:n=this.x+t,n=Math.max(n,s-a),n=Math.min(n,(e-a)/2+a),o=this.y+i,o=Math.min(o,0),o=Math.max(o,a-s);break;case 2:n=this.x,o=this.y+i,o=Math.min(o,(e-a)/2+a),o=Math.max(o,0);break;case 3:n=this.x+t,n=Math.max(n,(e-s)/2-a),n=Math.min(n,a),o=this.y+i,o=Math.max(o,a),o=Math.min(o,s)}this.x=n,this.y=o,this.repaint(n,o)},repaint:function(t,i){var h=this.index,s=this.boxWidth,a=this.boxHeight,e=this.imgWidth,n=this.imgHeight,o=this.ctx;o.clearRect(0,0,s,a),o.translate(t,i),o.rotate(h%4*90*Math.PI/180),o.drawImage(this.data.shotImage,0,(a-n)/2,e,n),o.draw()}}; 
 			}); 
		define("public/components/card-create-form/variables.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.TYPES={NORMAL:1,NORMAL_VERIFY:2,NORMAL_AVATAR:3,AVATAR_VERIFY:4},exports.ORIENT={BOTTOM:"bottom",TOP:"top"}; 
 			}); 
		define("public/components/card-scanner-form/card-scanner.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.ocr=exports.chooseImage=void 0;var t=e(require("../../utils/api-code")),o=e(require("../../utils/util")),r=e(require("../../utils/api"));exports.chooseImage=function(e){return new Promise(function(t,o){wx.chooseImage({count:1,sizeType:["compressed"],sourceType:[e],success:function(e){t(e.tempFilePaths[0])},fail:o})})},exports.ocr=function(e){return wx.showLoading({title:"智能识别中...",mask:!0}),new Promise(function(i,s){r.default.weappcard.ocrbusinesscard({filePath:e}).then(function(e){var o=e.code,r=e.data,s=e.message;if(o!==t.default.SUCCESS)return Promise.reject(s);wx.hideLoading(),i(r)}).catch(function(e){s(),wx.hideLoading(),o.default.qAlert(e||"识别图片失败","识别失败")})})}; 
 			}); 
		define("public/components/collections.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("../components/dialog/dialog.js")),o=e(require("../components/pages/pages.js"));exports.default={$pages:o.default,$dialog:t.default}; 
 			}); 
		define("public/components/component.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function t(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(exports,"__esModule",{value:!0});var i=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),n=function(t){return t&&t.__esModule?t:{default:t}}(require("../utils/util")),s=function(){function s(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e(this,s),n.default.extend(this,{options:i}),this.page=t,this.__initState()}return i(s,[{key:"__initState",value:function(){this.options.data&&this.__initData(),this.options.methods&&this.__methods()}},{key:"__initData",value:function(){var e=this.options.scope,i=this.options.data;if(this._data={},!n.default.isEmptyObject(i))for(var s in i)i.hasOwnProperty(s)&&"function"!=typeof i[s]&&(this._data[s]=i[s]);this.page.setData(t({},""+e,this._data))}},{key:"__methods",value:function(){var e=this.options.scope,i=this.options.methods;if(!n.default.isEmptyObject(i))for(var s in i)i.hasOwnProperty(s)&&"function"==typeof i[s]&&(this[s]=i[s]=i[s].bind(this),this.page[e+"."+s]=i[s],this.page.setData(t({},e+"."+s,e+"."+s)))}},{key:"setVisible",value:function(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.page.setData((e={},t(e,this.options.scope+".animateCss",i),t(e,this.options.scope+".visible",!0),e))}},{key:"setHidden",value:function(){var e=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;this.page.setData(t({},this.options.scope+".animateCss",i)),setTimeout(function(){e.page.setData(t({},e.options.scope+".visible",!1))},n)}}]),s}();exports.default=s; 
 			}); 
		define("public/components/dialog/dialog.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function t(t){return t&&t.__esModule?t:{default:t}}function e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(exports,"__esModule",{value:!0});var n=t(require("../../utils/util")),i=t(require("../component")),o={};exports.default={setDefaults:function(){return{title:"",content:"",buttons:[]}},data:function(){return{cancelText:"取消",cancelType:"weui-dialog__btn_default",confirmText:"确定",confirmType:"weui-dialog__btn_primary",onCancel:function(){},onConfirm:function(){}}},open:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=n.default.extend({visible:!1},this.setDefaults(),t),r=t.scope||"wx.dialog";o[r]=getCurrentPages()[getCurrentPages().length-1];var c=new i.default(o[r],{scope:r,data:a,methods:{hide:function(t){if(this.removed)return!1;this.removed=!0,this.setHidden(),setTimeout(function(){return"function"==typeof t&&t()},300)},show:function(){if(this.removed)return!1;a.reg&&this.page.setData(e({},r+".btn_disabled",!0)),this.setVisible()},buttonTapped:function(t){var e=t.currentTarget.dataset.index,n=a.buttons[e];"function"==typeof n.onTap&&void 0===n.onTap(t)&&this.hide()},bindinput:function(t){var n,i=(t.detail.value||"").trim(),o=this.checkReg(i);this.page.setData((n={},e(n,r+".content",i),e(n,r+".btn_disabled",!!o),n))},checkReg:function(t){var i=void 0;if("digit"===a.type){var o=(t=n.default.formatDecimal(t)).indexOf(".");o=o>a.maxlength?a.maxlength:o,this.page.setData(e({},r+".maxlength",o>-1?o+1+a.toFixed:a.maxlength))}else this.page.setData(e({},r+".maxlength",a.maxlength));return"function"==typeof a.reg?i=a.reg(t):"[object RegExp]"===Object.prototype.toString.call(a.reg)&&(i=a.reg.test(t)),i},onScroll:function(t){return!1}}});return c.show(),c.hide},comment:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.open(n.default.extend({buttons:[{text:t.cancelText||this.data().cancelText,type:t.cancelType||this.data().cancelType,onTap:function(e){"function"==typeof t.onCancel&&t.onCancel(e)}},{text:t.confirmText||this.data().confirmText,type:t.confrimType||this.data().confrimType,onTap:function(e){return"function"==typeof t.onConfirm&&t.onConfirm(e)}}],type:"textarea"},t))},prompt:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.open(n.default.extend({buttons:[{text:t.cancelText||this.data().cancelText,type:t.cancelType||this.data().cancelType,name:"cancel",onTap:function(e){"function"==typeof t.onCancel&&t.onCancel(e)}},{text:t.confirmText||this.data().confirmText,type:t.confirmType||this.data().confirmType,name:"confirm",onTap:function(e){return"function"==typeof t.onConfirm&&t.onConfirm(e)}}],type:"text",toFixed:2,maxlength:7},t))}}; 
 			}); 
		define("public/components/imageupload/imageupload.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=function(e){if(e&&e.__esModule)return e;var a={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(a[t]=e[t]);return a.default=e,a}(require("../../utils/request")),a=getApp();exports.default={initImageData:function(){this.setData({CHOOSE_IMAGE_MAX_COUNT:9,remarkImages:[],remarkImagesTempPath:[]})},removedExistsImagesIds:[],chooseUploadImage:function(e,a){var t=this,r=9-this.data.remarkImagesTempPath.length-this.data.remarkImages.length;wx.chooseImage({count:r,sizeType:["compressed"],success:function(e){t.setData({remarkImagesTempPath:t.data.remarkImagesTempPath.concat(e.tempFilePaths)}),a&&a()}})},removeExistsImage:function(e){var a=e.currentTarget.dataset.index,t=this.data.remarkImages.splice(a,1);this.removedExistsImagesIds.push(t[0].id),this.setData({remarkImages:this.data.remarkImages})},removeTempImage:function(e){var a=e.currentTarget.dataset.index;this.data.remarkImagesTempPath.splice(a,1),this.setData({remarkImagesTempPath:this.data.remarkImagesTempPath})},previewRemarkImage:function(e){var a=e.currentTarget.id,t=this.data.remarkImages.map(function(e){return e.src}).concat(this.data.remarkImagesTempPath);wx.previewImage({current:a,urls:t})},uploadRemarkImages:function(t,r){r.noLoading||wx.showLoading({title:"上传图片中...",mask:!0});var s=t.length,m=0;return new Promise(function(n){var i=[];a.getTokens(function(a){!function o(c){e.upload({url:r.url+"?accesstoken="+a.accesstoken,name:r.name||"file",filePath:c,formData:r.data}).then(function(e){return i.push(e),Promise.reject()}).catch(function(){++m===s?n(i):o(t[m])})}(t[m])})})}}; 
 			}); 
		define("public/components/mobile-validator/mobile-validator.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(exports,"__esModule",{value:!0});var n=e(require("../../utils/util.js")),o=e(require("../../utils/toptip.js")),d=e(require("../../utils/event-emitter.js")),i=e(require("../../utils/api"));exports.default={addTo:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$$mv";e.setData(t({},a,{form:{mobile:"",verifycode:""},enabledSendCode:!1,sendCodeButtonText:"验证手机"}));Object.assign(e,{countdown:0,$$mvInputMobile:function(e){var n=e.detail.value.trim();this.setData(t({},a+".form.mobile",n)),this.$$mvUpdateEnabledSendCode(),d.default.emit("$$mv.mobileChange",n)},$$mvInputVCode:function(e){var n=e.detail.value.trim();this.setData(t({},a+".form.verifycode",n)),d.default.emit("$$mv.verifyCodeChange",n)},$$mvUpdateEnabledSendCode:function(){var e=this.data[a];this.setData(t({},a+".enabledSendCode",n.default.isMobile(e.form.mobile)&&0===this.countdown))},$$mvSendCode:function(){var e=this,t=this.data[a].form.mobile,n=this.$$mvStartCountdown();i.default.users.sendcode({source:"weApp",mobile:t}).then(function(e){if(0!==e.code||!e.data.issend)throw new Error(e.message)}).catch(function(t){n(),o.default.show(e,"短信发送失败，请重试"),e.$$mvUpdateSendCodeStatusByCountDown(),d.default.emit("$$mv.sendCodeFail")})},$$mvUpdateSendCodeStatusByCountDown:function(){var e=0==+this.countdown?"重新验证":this.countdown+"S";this.setData(t({},a+".sendCodeButtonText",e)),0!==this.countdown&&60!==this.countdown||this.$$mvUpdateEnabledSendCode()},$$mvStartCountdown:function(){var e=this,t=void 0;return this.countdown=60,this.$$mvUpdateSendCodeStatusByCountDown(),t=setInterval(function(){e.countdown--,e.$$mvUpdateSendCodeStatusByCountDown(),0===e.countdown&&clearInterval(t)},1e3),function(){e.countdown=0,clearInterval(t)}}})}}; 
 			}); 
		define("public/components/mobile-verify/mobile-util.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};exports.sendMobileCode=function(e){return new Promise(function(t,n){r.default.users.sendcode({source:"weApp",mobile:e}).then(function(e){e.code===o.default.SUCCESS&&e.data.issend?t():n()})})},exports.resolverWxMobile=function(e,o){return new Promise(function(i,s){/getPhoneNumber:fail/.test(e.errMsg)?s():(wx.showLoading({title:"获取中...",mask:!0}),n.default.getLoginCodeOrSessionkey().then(function(n){r.default.weapp.getUserMobile({data:t({},n,{iv:e.iv,encryptedData:e.encryptedData,app:o}),complete:wx.hideLoading}).then(i,s)}))})};var r=e(require("../../utils/api")),n=e(require("../../utils/user")),o=e(require("../../utils/api-code")); 
 			}); 
		define("public/components/modalview/modalview.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},n=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}();exports.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new r(t,e({scope:"modalview"},n)).show()};var a={title:"",subtitle:"",modalData:[],buttons:[{text:"知道了",tap:function(){}}]},r=exports.ModalView=function(){function r(n,o){var i=this;t(this,r),this.page=n,this.scope=o.scope;var s=e({},a,o);return s.buttons.forEach(function(t){t.type=t.type||"primary"}),n.$setData(o.scope,{modalData:s}),Object.assign(n,{$$buttonTapped:function(t){var e=t.currentTarget.dataset.index,n=s.buttons[e].tap;("function"==typeof n&&!1!==n()||!n)&&i.hide()}}),this}return n(r,[{key:"show",value:function(){var t=this.scope;return this.page.$setData(t,{showModalStatus:!0}),this}},{key:"hide",value:function(){var t=this.scope;return this.page.$setData(t,{showModalStatus:!1}),this}}]),r}(); 
 			}); 
		define("public/components/pages/pages.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(e){for(var t=[],n=0;n<e;n++)t[n]=n+1;return t}Object.defineProperty(exports,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=e(require("../../utils/util")),a=e(require("../component"));exports.default={setDefaults:function(){return{prev_text:"上一页",next_text:"下一页",page:0,sum:1,pageRange:null}},init:function(e){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=r.default.extend(this.setDefaults(),u),i=l.scope||"wx.pages";l.page=0===l.page?0:l.page-1,l.pageRange=n(l.sum);var p=function(n){l.page=n,e.setData(t({},i+".page",n)),c(),"function"==typeof l.pageChange&&l.pageChange(n)},c=function(){var e=l.scrollTop,t=void 0===e?"undefined":o(e);if(wx.pageScrollTo)if("number"===t)wx.pageScrollTo({scrollTop:e});else if("string"===t){var n=wx.createSelectorQuery();n.select(e).boundingClientRect(),n.selectViewport().scrollOffset(),n.exec(function(e){wx.pageScrollTo({scrollTop:e[0].top})})}};return new a.default(e,{scope:i,data:l,methods:{onPrevTap:function(e){var t=l.page-1;t<0||p(t)},pageNumChange:function(e){var t=parseInt(e.detail.value,10);p(t)},onNextTap:function(e){var t=l.page+1;t>=l.sum||p(t)}}})}}; 
 			}); 
		define("public/components/prompt/prompt.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(exports,"__esModule",{value:!0});var a=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),n=function(){function n(a,r,o){var l;t(this,n),this.page=a,this.dataKey=r,this.props=o,a.setData((l={},e(l,r+".promptId",o.promptId),e(l,r+".title",o.title),e(l,r+".placeholder",o.placeholder),e(l,r+".value",o.value),l));var i=a.onPromptConfirm||function(){},u=a.onPromptCancel||function(){};a.onPromptConfirm=function(e){i.call(a,e),e.currentTarget.dataset.promptId===a.data[r].promptId&&o.onPromptConfirm&&o.onPromptConfirm(e)},a.onPromptCancel=function(e){u.call(a,e),e.currentTarget.dataset.promptId===a.data[r].promptId&&o.onPromptCancel&&o.onPromptCancel(e)}}return a(n,[{key:"show",value:function(t){var a=this.page,n=this.dataKey,r=e({},n+".shown",!0);t&&(t.title&&(r[n+".title"]=t.title),t.placeholder&&(r[n+".placeholder"]=t.placeholder),t.value&&(r[n+".value"]=t.value)),a.setData(r)}},{key:"hide",value:function(){var t,a=this.page,n=this.dataKey;a.setData((t={},e(t,n+".shown",!1),e(t,n+".value",""),t))}}]),n}();exports.default=n; 
 			}); 
		define("public/components/search-list/cache.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.cache={}; 
 			}); 
		define("public/components/share-tip/share-tip.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={addTo:function(e){var t=void 0,a=!1;wx.canIUse&&(a=wx.canIUse("button.open-type.share")),e.setData({canShare:a}),e.hideShareTip=function(){this.setData({shareTipShown:!1})},e.showShareTip=function(){var e=this;this.setData({shareTipShown:!0}),clearTimeout(t),t=setTimeout(function(){e.hideShareTip()},1500)}}}; 
 			}); 
		define("public/components/signin-modal/signin-util.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.registerToken=exports.responseResolveIfNeedLogin=exports.checkIfInTabBar=exports.checkIfNeedSignin=void 0;var r=e(require("../../utils/api-code")),t=e(require("../../utils/user")),n=["pages/card/index/index","pages/contacts/index/index","pages/mine/mine"],s=exports.checkIfNeedSignin=function(e){return[r.default.TOKEN_INVALID,r.default.TOKEN_EXPIRY].includes(e)};exports.checkIfInTabBar=function(){var e=getCurrentPages(),r=e[e.length-1].__route__;return n.includes(r)},exports.responseResolveIfNeedLogin=function(e){return s(e.code)?Promise.reject(e):Promise.resolve(e)},exports.registerToken=function(e){var r=e.detail;return/fail[\s:]auth[\s:]deny/.test(r.errMsg)?Promise.reject(r):t.default.registerToken(r)}; 
 			}); 
		define("public/components/withinmsg/record.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=function(e){return e&&e.__esModule?e:{default:e}}(require("../../utils/event-emitter"));exports.default={load:function(t){+t.issystemchat||(+t.issystem||e.default.emit("unreads.syn",{type:"add",num:1}),e.default.emit("radar.message.socket",t))},initUnreads:function(){e.default.emit("init.unreads")}}; 
 			}); 
		define("public/lib/md5.min.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};!function(t){function r(n,t){var r=(65535&n)+(65535&t);return(n>>16)+(t>>16)+(r>>16)<<16|65535&r}function o(n,t){return n<<t|n>>>32-t}function e(n,t,e,u,f,c){return r(o(r(r(t,n),r(u,c)),f),e)}function u(n,t,r,o,u,f,c){return e(t&r|~t&o,n,t,u,f,c)}function f(n,t,r,o,u,f,c){return e(t&o|r&~o,n,t,u,f,c)}function c(n,t,r,o,u,f,c){return e(t^r^o,n,t,u,f,c)}function i(n,t,r,o,u,f,c){return e(r^(t|~o),n,t,u,f,c)}function d(n,t){n[t>>5]|=128<<t%32,n[14+(t+64>>>9<<4)]=t;var o,e,d,l,a,h=1732584193,m=-271733879,y=-1732584194,p=271733878;for(o=0;o<n.length;o+=16)e=h,d=m,l=y,a=p,m=i(m=i(m=i(m=i(m=c(m=c(m=c(m=c(m=f(m=f(m=f(m=f(m=u(m=u(m=u(m=u(m,y=u(y,p=u(p,h=u(h,m,y,p,n[o],7,-680876936),m,y,n[o+1],12,-389564586),h,m,n[o+2],17,606105819),p,h,n[o+3],22,-1044525330),y=u(y,p=u(p,h=u(h,m,y,p,n[o+4],7,-176418897),m,y,n[o+5],12,1200080426),h,m,n[o+6],17,-1473231341),p,h,n[o+7],22,-45705983),y=u(y,p=u(p,h=u(h,m,y,p,n[o+8],7,1770035416),m,y,n[o+9],12,-1958414417),h,m,n[o+10],17,-42063),p,h,n[o+11],22,-1990404162),y=u(y,p=u(p,h=u(h,m,y,p,n[o+12],7,1804603682),m,y,n[o+13],12,-40341101),h,m,n[o+14],17,-1502002290),p,h,n[o+15],22,1236535329),y=f(y,p=f(p,h=f(h,m,y,p,n[o+1],5,-165796510),m,y,n[o+6],9,-1069501632),h,m,n[o+11],14,643717713),p,h,n[o],20,-373897302),y=f(y,p=f(p,h=f(h,m,y,p,n[o+5],5,-701558691),m,y,n[o+10],9,38016083),h,m,n[o+15],14,-660478335),p,h,n[o+4],20,-405537848),y=f(y,p=f(p,h=f(h,m,y,p,n[o+9],5,568446438),m,y,n[o+14],9,-1019803690),h,m,n[o+3],14,-187363961),p,h,n[o+8],20,1163531501),y=f(y,p=f(p,h=f(h,m,y,p,n[o+13],5,-1444681467),m,y,n[o+2],9,-51403784),h,m,n[o+7],14,1735328473),p,h,n[o+12],20,-1926607734),y=c(y,p=c(p,h=c(h,m,y,p,n[o+5],4,-378558),m,y,n[o+8],11,-2022574463),h,m,n[o+11],16,1839030562),p,h,n[o+14],23,-35309556),y=c(y,p=c(p,h=c(h,m,y,p,n[o+1],4,-1530992060),m,y,n[o+4],11,1272893353),h,m,n[o+7],16,-155497632),p,h,n[o+10],23,-1094730640),y=c(y,p=c(p,h=c(h,m,y,p,n[o+13],4,681279174),m,y,n[o],11,-358537222),h,m,n[o+3],16,-722521979),p,h,n[o+6],23,76029189),y=c(y,p=c(p,h=c(h,m,y,p,n[o+9],4,-640364487),m,y,n[o+12],11,-421815835),h,m,n[o+15],16,530742520),p,h,n[o+2],23,-995338651),y=i(y,p=i(p,h=i(h,m,y,p,n[o],6,-198630844),m,y,n[o+7],10,1126891415),h,m,n[o+14],15,-1416354905),p,h,n[o+5],21,-57434055),y=i(y,p=i(p,h=i(h,m,y,p,n[o+12],6,1700485571),m,y,n[o+3],10,-1894986606),h,m,n[o+10],15,-1051523),p,h,n[o+1],21,-2054922799),y=i(y,p=i(p,h=i(h,m,y,p,n[o+8],6,1873313359),m,y,n[o+15],10,-30611744),h,m,n[o+6],15,-1560198380),p,h,n[o+13],21,1309151649),y=i(y,p=i(p,h=i(h,m,y,p,n[o+4],6,-145523070),m,y,n[o+11],10,-1120210379),h,m,n[o+2],15,718787259),p,h,n[o+9],21,-343485551),h=r(h,e),m=r(m,d),y=r(y,l),p=r(p,a);return[h,m,y,p]}function l(n){var t,r="",o=32*n.length;for(t=0;t<o;t+=8)r+=String.fromCharCode(n[t>>5]>>>t%32&255);return r}function a(n){var t,r=[];for(r[(n.length>>2)-1]=void 0,t=0;t<r.length;t+=1)r[t]=0;var o=8*n.length;for(t=0;t<o;t+=8)r[t>>5]|=(255&n.charCodeAt(t/8))<<t%32;return r}function h(n){return l(d(a(n),8*n.length))}function m(n,t){var r,o,e=a(n),u=[],f=[];for(u[15]=f[15]=void 0,e.length>16&&(e=d(e,8*n.length)),r=0;r<16;r+=1)u[r]=909522486^e[r],f[r]=1549556828^e[r];return o=d(u.concat(a(t)),512+8*t.length),l(d(f.concat(o),640))}function y(n){var t,r,o="";for(r=0;r<n.length;r+=1)t=n.charCodeAt(r),o+="0123456789abcdef".charAt(t>>>4&15)+"0123456789abcdef".charAt(15&t);return o}function p(n){return unescape(encodeURIComponent(n))}function g(n){return h(p(n))}function v(n){return y(g(n))}function b(n,t){return m(p(n),p(t))}function s(n,t){return y(b(n,t))}function S(n,t,r){return t?r?b(t,n):s(t,n):r?g(n):v(n)}"function"==typeof define&&define.amd?define(function(){return S}):"object"===("undefined"==typeof module?"undefined":n(module))&&module.exports?module.exports=S:t.md5=S}(void 0); 
 			}); 
		define("public/pages/signin-page/checkIfNeedSignin.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(){var e=getCurrentPages();e[e.length-1].setData({isLoginModalShown:!0})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(n,r){var a=[t.default.TOKEN_INVALID,t.default.TOKEN_EXPIRY].includes(n);return a&&e(),a},exports.askForSignin=function(t){var n=!getApp().globalData.tokens.accesstoken;return n&&e(),n};var t=function(e){return e&&e.__esModule?e:{default:e}}(require("../../utils/api-code")); 
 			}); 
		define("public/pages/verify/verify.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}var t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},i=e(require("../../utils/toptip.js")),n=e(require("../../utils/util.js")),o=e(require("../../utils/api-code.js")),r=require("../../utils/request.js"),s=require("../../utils/host.js"),u=require("../../utils/user.js"),a=e(require("../../components/mobile-validator/mobile-validator")),c={weapp:{bindingWxUser:function(e){return(0,r.post)(s.apiPrefix+"/weapp/bindingwxuser",e)}}};Page({data:{submitting:!1,quickLoginMode:wx.getSystemInfoSync().SDKVersion>="1.2.0",$$mv:{}},onLoad:function(e){var t=this;this.query=e,(0,u.getTokens)().then(function(e){t.loginCode="",wx.showLoading({title:"加载中..."}),wx.login({success:function(e){return t.loginCode=e.code},complete:wx.hideLoading}),setInterval(function(){wx.login({success:function(e){return t.loginCode=e.code}})},27e4)}),a.default.addTo(this,"$$mv")},bindingWxUser:function(e){var n=this;return this.setData({submitting:!0}),(0,u.getTokens)().then(function(r){c.weapp.bindingWxUser(t({},r,n.query,e)).then(function(e){e.code===o.default.SUCCESS?n.onBindingSuccess(e.data):i.default.show(n,e.message)})}).catch(function(e){return console.error(e)}).then(function(){n.setData({submitting:!1})})},onBindingSuccess:function(e){(0,u.updateTokens)(e),wx.showToast({title:"已登录"}),setTimeout(this.reloadPrevPage,1500)},reloadPrevPage:function(){var e=getCurrentPages(),t=e[e.length-2];if("function"==typeof t.onMobileVerify)t.onMobileVerify(),wx.navigateBack();else{var i="/"+(t.route||__wxRoute)+"?"+n.default.serializeParams(t.__query);e.length<=2&&wx.reLaunch?wx.reLaunch({url:i}):wx.navigateBack({success:function(){wx.redirectTo({url:i})}})}},validateForm:function(e){var t=e.mobile,o=e.verifycode;return t?n.default.isMobile(t)?!!o||(i.default.show(this,"请输入验证码"),!1):(i.default.show(this,"手机号格式不正确"),!1):(i.default.show(this,"请输入手机号"),!1)},submit:function(){this.validateForm(this.data.$$mv.form)&&this.bindingWxUser(t({},this.data.$$mv.form))},toManualMode:function(){this.setData({quickLoginMode:!1})},quickLogin:function(e){var t=e.detail,n=t.errMsg,o=t.iv,r=t.encryptedData;"getPhoneNumber:fail user deny"===n||(n.includes("getPhoneNumber:fail")?(i.default.show(this,"快速获取失败，请手动输入"),this.setData({quickLoginMode:!1})):this.bindingWxUser({encryptedData:r,iv:o,code:this.loginCode}))}}); 
 			}); 
		define("public/utils/api-code.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={SUCCESS:0,TOKEN_INVALID:-1,TOKEN_EXPIRY:-2,TOKEN_OUT_RANGE:-3,PARAM_ERROR:-4,PARAM_MISSING:-5,TOKEN_REQUIRE_PERSONAL:-6,TOKEN_REQUIRE_CORP:-7,SAVE_ERROR:-8,SIGN_ERROR:-9,INVALID_AUTHOR_CODE:-10,RECORD_NOT_EXISTS:-11,RECORD_ALREADY_EXISTS:-12,INVALID_QRCODE_LENGTH:-13,INVALID_VERIFY_CODE:-14,INVALID_MODULE_TYPE:-15,EMPTY_SYSTEM_URL:-16,EMPTY_PROTOCOL_URL:-17,EMPTY_URL_DIAGONAL:-18,SYSTEM_URL_BINDED:-19,UNBINDING_FAILED:-20,BINDING_FAILED:-21,VERIFY_CODE_ERROR:-22,ROUTER_ERROR:-23,INVALID_SYSTEM_URL:-24,ERROR_JSON_FORMAT:-25,VERIFY_CODE_SEND_ERROR:-26,SYSTEM_ERROR:-27,USER_INVALID_IDENTITY:-1005,USER_ACCOUNT_ALREADY_EXISTS:-1018,USER_ACCOUNT_NOT_EXISTS:-1009,OPERAT_TOO_FAST:-1027,CARD_NOT_CREATE:-5003,NO_BINDING_USER:-100012,MOBILE_IS_NOT_VERIFY:-100013,THROTTLE_SEND_CARD_VIEW:-160002,MAX_SEND_CARD_VIEW:-160003,SOCKET_AUTO_CLOSE:1006}; 
 			}); 
		define("public/utils/api-generator.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){if(Array.isArray(e)){for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}return Array.from(e)}function r(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function t(e){return Object.keys(e).sort().map(function(r){return r+"="+e[r]}).join("&")}Object.defineProperty(exports,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},a=function(){function e(e,r){var t=[],n=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(n=(i=u.next()).done)&&(t.push(i.value),!r||t.length!==r);n=!0);}catch(e){o=!0,a=e}finally{try{!n&&u.return&&u.return()}finally{if(o)throw a}}return t}return function(r,t){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return e(r,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}();exports.serialize=t;var u=function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}(require("./request")),s=function(e){return e&&e.__esModule?e:{default:e}}(require("./util")),c=function(){function c(e,t){r(this,c),this.$register(e,t),this.$requestInterceptors=[],this.$responseInterceptors=[]}return i(c,null,[{key:"concatInterceptor",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments[1];return r?e.concat(r):e}}]),i(c,[{key:"$register",value:function(e,r){Object.assign(this,this.$generate(e,r))}},{key:"$generate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/",l={};return Object.keys(e).forEach(function(f){var p=e[f];if("string"==typeof p&&(p=[p]),Array.isArray(p)){var v=a(p,3),y=v[0],h=void 0===y?"get":y,d=v[1],b=void 0===d?{}:d,m=v[2],g=void 0===m?{}:m,$=""+(b.host?b.host:i)+s+f;l[f]=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(n=o({},b,n)).isData&&(e={data:e}),(e=o({},g,e,{url:$,method:h})).data=Object.assign({},g.data,e.data),e.param&&(e.param=Object.assign({},g.param,e.param),e.url+="?"+t(e.param));var a=c.concatInterceptor(r.$requestInterceptors,n.requestInterceptors),i=c.concatInterceptor(r.$responseInterceptors,n.responseInterceptors);return r.$runResolvers(a,e).then(function(e){e.method=e.method.toLowerCase?e.method.toLowerCase():"";var t="upload"===e.method?u.upload(e):u.request(e);return t.catch(r.$errorHandler),t.then(function(e){return r.$runResolvers(i,e)})})},l[f].url=$,b.alias&&(l[b.alias]=l[f])}else"object"===(void 0===p?"undefined":n(p))&&(l[f]=r.$generate(p,i,""+s+f+"/"))}),l}},{key:"$runResolvers",value:function(r,t){var n=(r=[].concat(e(r)))[0];return n?(r.shift(),n(t).then(this.$runResolvers.bind(this,r))):Promise.resolve(t)}},{key:"$errorHandler",value:function(e){return s.default.requestFailTip(e),Promise.reject(e)}}]),c}();exports.default=c; 
 			}); 
		define("public/utils/api-interceptors.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}function r(e,r){return"string"==typeof e?e+(e.includes("?")?"&":"?")+r:""}function t(e){return a.default.getTokens().then(function(t){return n({},e,{url:r(e.url,"accesstoken="+t.accesstoken)})})}Object.defineProperty(exports,"__esModule",{value:!0});var n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e};exports.requestSignature=function(e){var t=e.url,s=e.method,a=e.data,c=e.params,i="get"===s?a:c,f=u.default.parseUrl(t).query;return e.url=r(t,(0,o.generateSignParamsStr)(n({},f,i))),Promise.resolve(e)},exports.requestAccesstoken=t,exports.requestOpenId=function(e){return a.default.getTokens().then(function(r){return n({},e,{data:Object.assign({},e.data,{openid:r.openid})})})},exports.requestAccesstokenIfExist=function(e){return t(e).catch(function(r){return e})},exports.requestEncodeFields=function(e){if(e.formData){var r=Object.keys(e.formData);r&&r.length&&(e.formData=n({},e.formData),r.forEach(function(r){e.formData[r]=encodeURIComponent(e.formData[r])}),e.formData.encode=1)}return Promise.resolve(e)},exports.requestUseUploadIfNeccesary=function(e){return e.name&&e.filePath&&(e.method="UPLOAD"),Promise.resolve(e)},exports.responseResolveOnlySuccess=function(e){return e.code===s.default.SUCCESS?Promise.resolve(e):(u.default.qAlert(e.message||"网络错误，请重新尝试!","操作失败"),Promise.reject(e))};var o=require("./api-signature"),s=e(require("./api-code")),u=e(require("./util")),a=e(require("./user")); 
 			}); 
		define("public/utils/api-signature.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return Object.keys(e).sort().map(function(r){return r+"="+e[r]}).join("&")}function r(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e(r=Object.assign({},r,{timestamp:Math.floor(Date.now()/1e3),platform:i})),a=(0,o.default)(t+s);return n({sign:a,method:u},r)}function t(){var e=Math.floor(Date.now()/1e3);return{token:(0,o.default)(s+e),platform:i,createtime:e}}function a(t){return e(r(t))}Object.defineProperty(exports,"__esModule",{value:!0});var n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e};exports.serialize=e,exports.generateSignParams=r,exports.generateHeaderParams=t,exports.generateSignParamsStr=a;var o=function(e){return e&&e.__esModule?e:{default:e}}(require("../lib/md5.min.js")),s="c3a39e4eeacf4542d6a488e19037fa45",i="web",u="md5";exports.default={generateSignParams:r,generateHeaderParams:t,generateSignParamsStr:a}; 
 			}); 
		define("public/utils/api.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.assign||function(e){for(var s=1;s<arguments.length;s++){var t=arguments[s];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},s=require("./host"),t=function(e){return e&&e.__esModule?e:{default:e}}(require("./api-generator")),r=require("./api-interceptors"),a={requestInterceptors:r.requestAccesstoken,responseInterceptors:r.responseResolveOnlySuccess},o=new t.default({users:{sendcode:["POST",{alias:"sendCode",host:s.apiHost+"/v3",isData:!0,requestInterceptors:r.requestSignature}]},weapp:{wxusermobile:["POST",{alias:"getUserMobile",requestInterceptors:r.requestAccesstoken}],collectformid:["POST",{requestInterceptors:r.requestAccesstoken}]},weappcard:{ocrbusinesscard:["UPLOAD",{requestInterceptors:r.requestAccesstoken},{name:"file"}],searchposition:["GET",{isData:!0,requestInterceptors:r.requestAccesstoken}]},receipt:{searchsuggest:["GET",{alias:"searchSuggest",isData:!0}]},chat:{message:{unreadcount:["GET",{alias:"unreads",host:""+s.apiHost,requestInterceptors:r.requestAccesstoken}]},chat:{create:["POST",e({host:""+s.apiHost},a)],listsv2:["GET",e({alias:"chatlists",host:""+s.apiHost},a)]},setting:{setautoreply:["POST",e({host:""+s.apiHost},a)]}}},s.apiPrefix);exports.default=o; 
 			}); 
		define("public/utils/authorize.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("./util")),r=e(require("../../utils/config")),s={userInfo:{desc:"用户信息",text:"微信昵称、头像等公开信息"},userLocation:{desc:"地理位置",text:"地理位置权限"},address:{desc:"通讯地址",text:"通讯地址权限"},record:{desc:"录音功能",text:"录音功能权限"},writePhotosAlbum:{desc:"保存到相册",text:"保存到相册权限"}},n=wx.openSetting,o=function(e){return/fail[\s:]auth[\s:](denied|deny)/.test(e)||/authorize[\s:]fail/.test(e)},u=function(e,t,r){n?c(e,function(){a(e,t,r)},r):i(e)},c=function(e,t,r){wx.showModal({title:"小程序需要你的允许才能正常使用",content:"请点击“去设置”并勾选“"+s[e].desc+"”，然后确定即可正常使用",confirmText:"去设置",success:function(e){e.confirm?t&&t():r&&r()}})},i=function(e){wx.showModal({title:"刚才的微信授权你未点击“允许”",content:"小程序正常运行需要获得"+s[e].text+"。请在发现-小程序，删除"+r.default.appName+"，再次打开"+r.default.appName+"，会重新提示微信授信，点“允许”，即可正常使用"+r.default.appName+"..."})},a=function(e,t,r){n({success:function(s){s.authSetting&&s.authSetting["scope."+e]?t&&t():r&&r()}})};exports.default={userInfo:function(e,r,s){o(e.errMsg)?u("userInfo",r,s):t.default.qAlert(e.errMsg,"获取用户信息失败")},userLocation:function(e,r,s){o(e.errMsg)?u("userLocation",r,s):/cancel/.test(e.errMsg)||t.default.qAlert(e.errMsg,"获取地理位置失败")},address:function(e,r,s){o(e.errMsg)?u("address",r,s):/cancel/.test(e.errMsg)||t.default.qAlert(e.errMsg,"获取通讯地址失败")},record:function(e,r,s){/short/.test(e.errMsg)?wx.showToast({title:"录音时间太短",image:"/images/warning.png"}):o(e.errMsg)?u("record",r,s):t.default.qAlert(e.errMsg,"获取录音失败")},writePhotosAlbum:function(e,r,s){o(e.errMsg)?u("writePhotosAlbum",r,s):/cancel/.test(e.errMsg)||(s?s():t.default.qAlert(e.errMsg,"保存失败"))}}; 
 			}); 
		define("public/utils/event-emitter.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=function(){var e={},t={};return{listen:function(n,r){if(n){e[n]=e[n]||[],e[n].push(r);var i=t[n];i&&(i.forEach(function(e){return e()}),t[n]=null)}},emit:function(n){for(var r=this,i=arguments.length,o=Array(i>1?i-1:0),u=1;u<i;u++)o[u-1]=arguments[u];var f=e[n];if(!f||!f.length)return t[n]=t[n]||[],void t[n].push(function(){return r.emit.apply(r,[n].concat(o))});f.forEach(function(e){"function"==typeof e&&e.apply(void 0,o)})},remove:function(t,n){var r=e[t];if(r&&r.length)if(n){var i=r.indexOf(n);-1!==i&&r.splice(i,1)}else r.length=0}}}();exports.default={addListener:function(t,n){return e.listen(t,n),this},removeListener:function(t,n){return e.remove(t,n),this},emit:function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return e.emit.apply(e,[t].concat(r)),this},removeAllListener:function(t){return e.remove(t),this}}; 
 			}); 
		define("public/utils/host.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){exports.apiHost=t=e,exports.apiPrefix=s=e+"/"+r}Object.defineProperty(exports,"__esModule",{value:!0}),exports.rewriteHostAndPrefix=e;var t=exports.apiHost="https://api.ibos.cn",r=exports.apiVersion="v4",s=exports.apiPrefix=t+"/"+r;exports.default={rewriteHostAndPrefix:e}; 
 			}); 
		define("public/utils/page-enhance.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function r(r){return r&&r.__esModule?r:{default:r}}function t(r){if(Array.isArray(r)){for(var t=0,e=Array(r.length);t<r.length;t++)e[t]=r[t];return e}return Array.from(r)}function e(r){r.$route=function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"go";return s?Promise.reject("fail:running"):(s=!0,new Promise(function(e,a){var i={success:e,fail:a,complete:function(){return s=!1}};if(/^back/.test(r)){var o=r.match(/\d/)||[],u=n(o,1)[0],c=void 0===u?1:u;t="back",i.delta=+c}else l[t]||(t="redirect"),i.url=r;l[t](i)}))},r.$put=function(r,t){u[r]=t},r.$take=function(r){var t=u[r];return u[r]=null,t},r.$setData=function(r,t){if("string"==typeof r){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[r+"."+n]=t[n]);return this.setData(e)}if(a.default.isObject(r))return this.setData(r)},r.$addListener=function(){this.$$events=this.$$events||[];for(var r=arguments.length,t=Array(r),e=0;e<r;e++)t[e]=arguments[e];return this.$$events.push([].concat(t)),i.default.addListener.apply(i.default,t)},r.$removeListener=function(){i.default.removeListener.apply(i.default,arguments)},r.$removeAllListeners=function(){this.$$events&&this.$$events.forEach(function(r){return i.default.removeListener.apply(i.default,t(r))})},r.$emit=i.default.emit;var e=r.onUnload,c=r.onLoad;return r.onUnload=function(){for(var r=arguments.length,t=Array(r),n=0;n<r;n++)t[n]=arguments[n];e&&e.call.apply(e,[this].concat(t)),this.$removeAllListeners()},r.onLoad=function(r){var t=getApp();r&&(t.globalData.fromuid=r.fromuid||t.globalData.fromuid,t.globalData.fromapp=r.source||t.globalData.fromapp);for(var e=arguments.length,n=Array(e>1?e-1:0),a=1;a<e;a++)n[a-1]=arguments[a];c&&c.call.apply(c,[this,r].concat(n)),this.__query=r},o(r)}var n=function(){function r(r,t){var e=[],n=!0,a=!1,i=void 0;try{for(var o,u=r[Symbol.iterator]();!(n=(o=u.next()).done)&&(e.push(o.value),!t||e.length!==t);n=!0);}catch(r){a=!0,i=r}finally{try{!n&&u.return&&u.return()}finally{if(a)throw i}}return e}return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return r(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=r(require("./util")),i=r(require("./event-emitter"));try{Promise=require("./promise.js")}catch(r){wx.showModal({title:"Promise错误",content:"需要更新Promise引入机制"}),console.error(r)}var o=Page,u={},l={go:wx.navigateTo,back:wx.navigateBack,tab:wx.switchTab,redirect:wx.redirectTo,relaunch:wx.reLaunch},s=!1;Page=function(r){return e(r)},Page.originPage=o; 
 			}); 
		define("public/utils/promise.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(e,n){"object"===("undefined"==typeof exports?"undefined":t(exports))&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):e.ES6Promise=n()}(void 0,function(){function e(e){var n=void 0===e?"undefined":t(e);return null!==e&&("object"===n||"function"===n)}function n(t){return"function"==typeof t}function r(){return void 0!==D?function(){D(i)}:o()}function o(){var t=setTimeout;return function(){return t(i,1)}}function i(){for(var t=0;t<F;t+=2)(0,G[t])(G[t+1]),G[t]=void 0,G[t+1]=void 0;F=0}function s(t,e){var n=arguments,r=this,o=new this.constructor(c);void 0===o[I]&&x(o);var i=r._state;return i?function(){var t=n[i-1];L(function(){return j(i,o,t,r._result)})}():w(r,o,t,e),o}function u(e){var n=this;if(e&&"object"===(void 0===e?"undefined":t(e))&&e.constructor===n)return e;var r=new n(c);return _(r,e),r}function c(){}function f(){return new TypeError("You cannot resolve a promise with itself")}function a(){return new TypeError("A promises callback cannot return that same promise.")}function l(t){try{return t.then}catch(t){return V.error=t,V}}function h(t,e,n,r){try{t.call(e,n,r)}catch(t){return t}}function d(t,e,n){L(function(t){var r=!1,o=h(n,e,function(n){r||(r=!0,e!==n?_(t,n):m(t,n))},function(e){r||(r=!0,b(t,e))},"Settle: "+(t._label||" unknown promise"));!r&&o&&(r=!0,b(t,o))},t)}function p(t,e){e._state===Q?m(t,e._result):e._state===R?b(t,e._result):w(e,void 0,function(e){return _(t,e)},function(e){return b(t,e)})}function v(t,e,r){e.constructor===t.constructor&&r===s&&e.constructor.resolve===u?p(t,e):r===V?(b(t,V.error),V.error=null):void 0===r?m(t,e):n(r)?d(t,e,r):m(t,e)}function _(t,n){t===n?b(t,f()):e(n)?v(t,n,l(n)):m(t,n)}function y(t){t._onerror&&t._onerror(t._result),g(t)}function m(t,e){t._state===J&&(t._result=e,t._state=Q,0!==t._subscribers.length&&L(g,t))}function b(t,e){t._state===J&&(t._state=R,t._result=e,L(y,t))}function w(t,e,n,r){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+Q]=n,o[i+R]=r,0===i&&t._state&&L(g,t)}function g(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r=void 0,o=void 0,i=t._result,s=0;s<e.length;s+=3)r=e[s],o=e[s+n],r?j(n,r,o,i):o(i);t._subscribers.length=0}}function A(){this.error=null}function S(t,e){try{return t(e)}catch(t){return X.error=t,X}}function j(t,e,r,o){var i=n(r),s=void 0,u=void 0,c=void 0,f=void 0;if(i){if((s=S(r,o))===X?(f=!0,u=s.error,s.error=null):c=!0,e===s)return void b(e,a())}else s=o,c=!0;e._state!==J||(i&&c?_(e,s):f?b(e,u):t===Q?m(e,s):t===R&&b(e,s))}function E(t,e){try{e(function(e){_(t,e)},function(e){b(t,e)})}catch(e){b(t,e)}}function T(){return Z++}function x(t){t[I]=Z++,t._state=void 0,t._result=void 0,t._subscribers=[]}function M(t,e){this._instanceConstructor=t,this.promise=new t(c),this.promise[I]||x(this.promise),q(e)?(this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?m(this.promise,this._result):(this.length=this.length||0,this._enumerate(e),0===this._remaining&&m(this.promise,this._result))):b(this.promise,P())}function P(){return new Error("Array Methods must be provided an Array")}function C(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function O(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function k(t){this[I]=T(),this._result=this._state=void 0,this._subscribers=[],c!==t&&("function"!=typeof t&&C(),this instanceof k?E(this,t):O())}var Y=void 0,q=Y=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},F=0,D=void 0,K=void 0,L=function(t,e){G[F]=t,G[F+1]=e,2===(F+=2)&&(K?K(i):H())},N="undefined"!=typeof window?window:void 0,U=N||{},W=U.MutationObserver||U.WebKitMutationObserver,z="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),B="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,G=new Array(1e3),H=void 0;H=z?function(){return process.nextTick(i)}:W?function(){var t=0,e=new W(i),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}():B?function(){var t=new MessageChannel;return t.port1.onmessage=i,function(){return t.port2.postMessage(0)}}():void 0===N&&"function"==typeof require?function(){try{var t=require("vertx");return D=t.runOnLoop||t.runOnContext,r()}catch(t){return o()}}():o();var I=Math.random().toString(36).substring(16),J=void 0,Q=1,R=2,V=new A,X=new A,Z=0;return M.prototype._enumerate=function(t){for(var e=0;this._state===J&&e<t.length;e++)this._eachEntry(t[e],e)},M.prototype._eachEntry=function(t,e){var n=this._instanceConstructor,r=n.resolve;if(r===u){var o=l(t);if(o===s&&t._state!==J)this._settledAt(t._state,e,t._result);else if("function"!=typeof o)this._remaining--,this._result[e]=t;else if(n===k){var i=new n(c);v(i,t,o),this._willSettleAt(i,e)}else this._willSettleAt(new n(function(e){return e(t)}),e)}else this._willSettleAt(r(t),e)},M.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===J&&(this._remaining--,t===R?b(r,n):this._result[e]=n),0===this._remaining&&m(r,this._result)},M.prototype._willSettleAt=function(t,e){var n=this;w(t,void 0,function(t){return n._settledAt(Q,e,t)},function(t){return n._settledAt(R,e,t)})},k.all=function(t){return new M(this,t).promise},k.race=function(t){var e=this;return new e(q(t)?function(n,r){for(var o=t.length,i=0;i<o;i++)e.resolve(t[i]).then(n,r)}:function(t,e){return e(new TypeError("You must pass an array to race."))})},k.resolve=u,k.reject=function(t){var e=new this(c);return b(e,t),e},k._setScheduler=function(t){K=t},k._setAsap=function(t){L=t},k._asap=L,k.prototype={constructor:k,then:s,catch:function(t){return this.then(null,t)}},k.polyfill=function(){var t=void 0;if("undefined"!=typeof global)t=global;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var n=null;try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===n&&!e.cast)return}t.Promise=k},k.Promise=k,k}); 
 			}); 
		define("public/utils/qqmap.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default={serialize:function(e){var t="";for(var r in e)e.hasOwnProperty(r)&&(t+=(t?"&":"")+r+"="+e[r]);return t},createUrl:function(e){return"https://apis.map.qq.com/ws/staticmap/v2/?"+this.serialize(Object.assign({key:"T4QBZ-VGZW3-GOS3W-3LSUT-PDWMF-ARBIJ",zoom:15,scale:2},e))}}; 
 			}); 
		define("public/utils/request-pre-handler.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}function t(){wx.showModal({title:"请先登录",content:"接下来的操作需要您登录后才能继续",confirmText:"去登录",success:function(e){if(e.confirm){var t=getApp().globalData,o=t.app,i=t.appid;wx.navigateTo({url:"/public/pages/verify/verify?app="+o+"&appid="+i})}}})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.showLoginTipModal=t,exports.default=function(e){return e.code===o.default.TOKEN_INVALID?(t(),new i.default(function(){})):i.default.resolve(e)};var o=e(require("./api-code.js")),i=e(require("./promise.js")); 
 			}); 
		define("public/utils/request.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}function t(e,t,r){var n=e.complete;return"function"==typeof n&&(e.complete=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).data,t=void 0===e?{}:e;n(i.default.clearBOMAndParseJson(t))}),o({},e,{header:(0,d.generateHeaderParams)(),success:function(e){var n=e.data,a=e.statusCode;200===a?t(i.default.clearBOMAndParseJson(n)):r({errMsg:a,data:n})},fail:r})}function r(e){return new s.default(function(r,n){wx.request(t(e,r,n))})}function n(e){return new s.default(function(r,n){wx.uploadFile(t(e,r,n))})}function a(e,t,n){return r(o({},n,{url:e,data:t,method:"GET"}))}function u(e,t,n){return r(o({},n,{url:e,data:t,method:"POST"}))}Object.defineProperty(exports,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};exports.request=r,exports.upload=n,exports.get=a,exports.post=u;var s=e(require("./promise.js")),i=e(require("./util.js")),d=require("./api-signature");exports.default={request:r,upload:n,get:a,post:u}; 
 			}); 
		define("public/utils/socket.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("./api-code")),n=e(require("event-emitter")),o={URL:"wss://socket.ibos.cn",EVENT_PREFIX:"socket",EVENT_TYPES:{MESSAGE_CHAT:"event.chat",MESSAGE_NOTIFY:"event.messagenotify",DATE_VOICE:"event.activity_create_voice_tips"},connect:function(e){var o=this;this.connected||(this.accesstoken=e,wx.connectSocket({url:this.URL,header:{"content-type":"application/json"},method:"GET"}),wx.onSocketOpen(function(e){console.log("socket 连接成功",e),o.connected=!0,o.send({cmd:"api",route:"weapp/login",params:{accesstoken:o.accesstoken}})}),wx.onSocketError(function(e){console.error("socket 连接失败",e),o.connected=!1,o.reconnect()}),wx.onSocketClose(function(e){o.connected=!1,e&&e.code===t.default.SOCKET_AUTO_CLOSE?(console.error("socket 自动关闭",e),o.reconnect()):console.error("socket 连接关闭",e)}),wx.onSocketMessage(function(e){var t=e.data;try{t=JSON.parse(t)}catch(e){}t.event?n.default.emit(o.EVENT_PREFIX+".event."+t.event,t):t.cmd&&n.default.emit(o.EVENT_PREFIX+".cmd."+t.cmd,t),console.log("socket 收到服务器内容：",t)}))},reconnect:function(){this.accesstoken&&(console.log("socket 重新连接"),this.connect(this.accesstoken))},send:function(e){return new Promise(function(t,n){wx.sendSocketMessage({data:JSON.stringify(e),success:function(e){return t(e)},fail:function(e){return n(e)}})})},on:function(e,t){var o=[this.EVENT_PREFIX+"."+e,t];return n.default.addListener.apply(n.default,o),function(){n.default.removeListener.apply(n.default,o)}},once:function(e,t){var n=this.on(e,function(e){t&&t(e),n()});return n},close:function(){wx.closeSocket(),n.default.removeListener(this.EVENT_PREFIX+"."+this.EVENT_TYPES.MESSAGE_CHAT)}};exports.default=o; 
 			}); 
		define("public/utils/toptip.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(exports,"__esModule",{value:!0});var t=void 0;exports.default={show:function(r,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"toptip",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1500;return clearTimeout(t),r.setData(e({},i,o)),t=setTimeout(function(){r.setData(e({},i,""))},n),r}}; 
 			}); 
		define("public/utils/user.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}function t(e){Object.assign(E,e)}function n(e){y.default.addListener(T,e)}function o(e){wx.showLoading({title:"登录中...",mask:!0});var t=function(){wx.hideLoading()},n=c().then(function(t){return I.register(p({},E,t,e))});return n.then(function(e){return j=w.default.resolve(e.data)}),n.then(t,t),n.then(l).catch(d)}function r(e,t){if(!j){wx.showLoading({title:"登录中..."});var n=O.get(),o=function(e){wx.hideLoading(),g()},r=n?a({loginkey:n}):c().then(function(e){return a(e)});r.then(o,o),j=r.then(l).catch(d)}return j.then(e,t),j}function i(){return m}function s(e){var t=e.accesstoken,n=e.avatar,o=e.loginkey,r=e.openid,i=e.realname,s=e.uid,a=e.unionid,u=e.userid,c=e.corpid,f=e.isverifymobile,l=e.sessionkey;Object.assign(m,{accesstoken:t,avatar:n,loginkey:o,openid:r,realname:i,uid:s,unionid:a,userid:u,corpid:c,isverifymobile:f,sessionkey:l}),o&&O.set(o),t&&y.default.emit(T,m)}function a(e){var t=p({},E,{code:""},e);return I.login(t)}function u(){return new w.default(function(e,t){(wx.qy&&wx.qy.login||wx.login)({success:function(t){var n=t.code;return e({code:n})},fail:t})})}function c(){return new w.default(function(e,t){(wx.qy&&wx.qy.checkSession||wx.checkSession)({success:function(){m.sessionkey?e({sessionkey:m.sessionkey}):u().then(e,t)},fail:function(){m.sessionkey="",u().then(e,t)}})})}function f(){return O.remove(),j=null,new w.default(function(e,t){++q<S?setTimeout(function(){e(r())},_):t()})}function l(e){var t=k.default.clearBOMAndParseJson(e),n=t.code,o=t.data,r=t.message;switch(console.log(e,"登录结果"),n){case x.default.SUCCESS:case x.default.NO_BINDING_USER:case x.default.MOBILE_IS_NOT_VERIFY:if(!o)throw new Error("api:login:fail no data");return s(Object.assign({},m,o)),w.default.resolve(m);case x.default.USER_ACCOUNT_NOT_EXISTS:return s(o),w.default.resolve();case x.default.USER_ACCOUNT_ALREADY_EXISTS:case x.default.TOKEN_EXPIRY:case x.default.PARAM_MISSING:return f().catch(function(e){throw new Error("api:login:fail "+n+" "+r)});default:throw new Error("api:login:fail "+n+" "+r)}}function d(e){var t=e.errMsg,n=e.message;return j=null,wx.showModal({title:"微信登录失败",content:"请尝试重新打开小程序，或联系客服解决(错误原因："+(t||n)+")"}),w.default.reject(e)}function g(e){var t=wx.getStorageSync("last_post_device_info_time");(!t||Date.now()-t>864e5)&&wx.getNetworkType({success:function(e){var t=e.networkType;wx.getSystemInfo({success:function(e){wx.setStorage({key:"last_post_device_info_time",data:Date.now()}),I.deviceInfo(p({networkType:t},e))}})}})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.api=void 0;var p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};exports.setDefaultParams=t,exports.listenToken=n,exports.registerToken=o,exports.getTokens=r,exports.getTokensSync=i,exports.updateTokens=s,exports.getWxLoginCode=u,exports.getLoginCodeOrSessionkey=c;var w=e(require("./promise.js")),k=e(require("./util.js")),y=e(require("./event-emitter")),x=e(require("./api-code.js")),v=require("./host.js"),h=require("./request.js"),S=3,_=3e3,T="user.get.token",m={},O={key:"loginkey",get:function(){return wx.getStorageSync(this.key)},set:function(e){e!==this.get()&&wx.setStorage({key:this.key,data:e})},remove:function(){wx.removeStorageSync(this.key)}},E={},I=exports.api={login:function(e){return(0,h.post)(v.apiPrefix+"/weapp/loginv2",e)},register:function(e){return(0,h.post)(v.apiPrefix+"/weapp/register",e)},deviceInfo:function(e){return(0,h.post)(v.apiPrefix+"/weapp/deviceinfo",e)}},j=null,q=0;exports.default={api:I,listenToken:n,registerToken:o,setDefaultParams:t,getTokens:r,getTokensSync:i,updateTokens:s,getLoginCodeOrSessionkey:c}; 
 			}); 
		define("public/utils/util.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function t(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/";return[t.getFullYear(),t.getMonth()+1,t.getDate()].map(n).join(e)}function e(t){var e=new Date;return t=new Date(t),e.setHours(0,0,0,0)===t.setHours(0,0,0,0)}function r(t){var e=new Date,r=new Date(e.getTime()-g);return t=new Date(t),r.setHours(0,0,0,0)===t.setHours(0,0,0,0)}function n(t){return(t=t.toString())[1]?t:"0"+t}function u(t){if(void 0===t)return 0;var e=t.match(/[^\x00-\x80]/g);return t.length+(e?e.length:0)}function o(t,e){return/^https?:\/\/img.ibos.cn/.test(t)?t+"@"+e:t}function i(t,e){return o(t,e)}function a(t,e,r){var n={};return t.forEach(function(t){var u=t[e];r&&r(u,t),n[u]=n[u]||[],n[u].push(t)}),{groupedList:n,groupedKeys:Object.keys(n).sort()}}function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"确定";return wx.showModal({title:e,content:t,confirmText:r,showCancel:!1})}function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"avatar",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return t[e+"Thumb"]=i(t[e],r+"h_"+r+"w_1e_1c"),t}function f(t){var e=(t+="").lastIndexOf(".");return-1!==e?t.slice(e+1):""}Object.defineProperty(exports,"__esModule",{value:!0});var l=function(){function t(t,e){var r=[],n=!0,u=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(n=(i=a.next()).done)&&(r.push(i.value),!e||r.length!==e);n=!0);}catch(t){u=!0,o=t}finally{try{!n&&a.return&&a.return()}finally{if(u)throw o}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g=864e5,p=function(t){var e=void 0===t?"undefined":d(t);return"function"===e||"object"===e&&!!t},v=function(t){if(!p(t))return[];var e=[];for(var r in t)e.push(r);return e},h=function(t,e){return function(r){var n=arguments.length;if(n<2||null==r)return r;for(var u=1;u<n;u++)for(var o=arguments[u],i=t(o),a=i.length,c=0;c<a;c++){var s=i[c];e&&void 0!==r[s]||(r[s]=o[s])}return r}}(v);exports.default={isEmptyObject:function(t){return!Object.keys(t).length},extend:h,formatNumber:n,formatDate:t,formatTime:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",u=e.getHours(),o=e.getMinutes(),i=e.getSeconds();return t(e,r)+" "+[u,o,i].map(n).join(":")},formatLocalDate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Y年M月D日 h:m:s",r=new Date(1e3*t),u={Y:r.getFullYear(),M:n(r.getMonth()+1),D:n(r.getDate()),h:n(r.getHours()),m:n(r.getMinutes()),s:n(r.getSeconds())};return e.replace(/Y|M|D|h|m|s/g,function(t){return u[t]})},formatDecimal:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t=""+t,t=t.replace(/^\./g,"0."),(t=t.replace(/\.{2,}/g,".")).replace(".","$#$").replace(/\./g,"").replace("$#$",".")},humanizeTime:function(u){var o=[(u=new Date(u)).getHours(),u.getMinutes()].map(n).join(":");return e(u)?"今天"+o:r(u)?"昨天"+o:t(u)},isVerifyCode:function(t){return/^\d{4}$/.test(t)},isToday:e,isYesterday:r,isMobile:function(t){return/^1\d{10}$/.test(t)},isEmail:function(t){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(t)},isChn:function(t){return/^[\u4E00-\u9FA5]+$/.test(t)},isNum:function(t){return/^[0-9-]*$/.test(t)},isTel:function(t){return/^(\(\d{3,4}\)|\d{3,4}-|\s)?\d{7,14}$/.test(t)},isPrice:function(t){return/(^[1-9](\d+)?(\.\d{1,2})?$)|(^(0){1}$)|(^\d\.\d{1,2}?$)/.test(t)},isPositiveInt:function(t){return/^[1-9][0-9]*$/.test(t)},chunk:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;if(!t||!t.length)return[];for(var r=[],n=0;n<=t.length;n+=e)r.push(t.slice(n,n+e));return r},clearBOMAndParseJson:function(t){if("string"==typeof t)try{return JSON.parse(t.trim())}catch(t){return{}}return t},formatMobile:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return""+t.slice(0,3)+e+t.slice(3,7)+e+t.slice(7)},formatInputMobile:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ",r=t.length,n=[t.slice(0,3)];return r>3&&n.push(t.slice(3,7)),r>7&&n.push(t.slice(7)),n.join(e)},ucFirst:function(t){return"string"==typeof t?t.slice(0,1).toUpperCase()+t.slice(1):t},serializeParams:function(t){var e="";for(var r in t)t.hasOwnProperty(r)&&(e+=(e?"&":"")+r+"="+t[r]);return e},clipImage:o,getAvatar:i,groupByKey:a,groupByLetterKey:function(t,e,r){return a(t,e,r)},groupByTimestampDesc:function(n,u){var o=[],i={},a=h([],n);return a.sort(function(t,e){return t[u]<e[u]?1:-1}),a.forEach(function(n){var a=new Date(1e3*n[u]),c=void 0;c=e(a)?"今天":r(a)?"昨天":t(a,"-"),i[c]||(i[c]=[],o.push(c)),i[c].push(n)}),{groupedKeys:o,groupedList:i}},isObject:p,allKeys:v,qAlert:c,requestFailTip:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"网络不稳定，请尝试下拉页面刷新";console.log("request error",t);var n=["request:fail:interrupted","request:fail interrupted","request:fail createRequestTask:fail:interrupted"];t&&-1!==n.indexOf(t.errMsg)?console.log("由小程序退出而引起的网络中退"):c(r,e)},convertNumber:function(t){return null===t||void 0===t?0:(t=t.toString()).length>=5?t.slice(0,-3)+"k+":t},filterEmoji:function(t){var e=new RegExp("(?:[✀-➿]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff]|[#-9]️?⃣|㊙|㊗|〽|〰|Ⓜ|\ud83c[\udd70-\udd71]|\ud83c[\udd7e-\udd7f]|🆎|\ud83c[\udd91-\udd9a]|\ud83c[\udde6-\uddff]|[\ud83c[\ude01-\ude02]|🈚|🈯|[\ud83c[\ude32-\ude3a]|[\ud83c[\ude50-\ude51]|‼|⁉|[▪-▫]|▶|◀|[◻-◾]|©|®|™|ℹ|🀄|[☀-⛿]|⬅|⬆|⬇|⬛|⬜|⭐|⭕|⌚|⌛|⌨|⏏|[⏩-⏳]|[⏸-⏺]|🃏|⤴|⤵|[←-⇿])","g");return t.replace(e,"")},getByteLength:u,sliceByByte:function(t,e){for(var r="",n=0,o=0,i=t.length;o<i&&!(n/2>=e);o++)n=u(r+=t[o]);return r},formatTimeStamp:function(e){for(var r=Math.ceil(((new Date).getTime()-1e3*e)/1e3),n=["86400","3600","60","1"],u={86400:"天",3600:"小时",60:"分钟",1:"秒"},o=0;o<n.length;o++){var i=n[o],a=Math.floor(r/Number(i));if(0!==a)return"86400"===i?1===a?"昨天":t(new Date(1e3*e),"-"):a+u[i]+"前"}},successTip:function(t,e){wx.showToast({title:t+"成功",duration:500,success:e})},showTips:function(t){wx.showModal(Object.assign({},t,{success:function(e){e.confirm&&t.success&&t.success()}}))},addThumbToData:s,addThumbToList:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"avatar",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return t.forEach(function(t){t=s(t,e,r)}),t},parseUrl:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e={},r=(t=t.substr("/"===t.charAt(0)?1:0)).split("?"),n=l(r,2),u=n[0],o=n[1];return o&&o.split("&").forEach(function(t){var r=t.split("="),n=l(r,2),u=n[0],o=n[1];e[u]=o}),{url:u,query:e}},sliceStr:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"...";return t.length>e?t.slice(0,e)+r:t},getExtname:f,getFileType:function(t){var e="";return t=f(t),/pdf/.test(t)?e="pdf":/doc|docx/.test(t)?e="doc":/ppt|pps|pptx/.test(t)?e="ppt":/xls|xlsx|xlsm|xlt|xltx|xltm/.test(t)&&(e="xls"),e},getFileSize:function(t){var e=["Byte","K","M","G"],r=0;for(t=Math.max(parseInt(t,10)||0,0);t>=1024&&r<e.length-1;)t/=1024,r++;return+t.toFixed(1)+e[r]},transformCamel:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",r=new RegExp(e+"(\\w)","g");return t.replace(r,function(t,e){return e.toUpperCase()})},parseLaunchQueryString:function(t){if("object"===(void 0===t?"undefined":d(t)))return t;if("string"==typeof t){var e={};return(t=t.replace(/[{}]/g,"")).split(",").forEach(function(t){var r=t.split("="),n=l(r,2),u=n[0],o=n[1];e[u]=o}),e}return{}}}; 
 			}); 
		define("public/utils/withinmsg.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("./event-emitter")),a=e(require("./api-code")),i=e(require("./socket")),r=e(require("./api")),n={app:"card"};exports.default={app:n.app,initial:function(e){var t=this;return Object.assign(n,e),new Promise(function(e){t.loadUnreadsNum().then(e),i.default.on(i.default.EVENT_TYPES.MESSAGE_CHAT,t.loadMsg)})},loadMsg:function(e){var a=e.params;+a.issystemchat||(+a.issystem||t.default.emit("unreads.syn",{type:"add",num:1}),t.default.emit("radar.message.socket",a))},loadUnreadsNum:function(){return r.default.chat.message.unreads().then(function(e){var a=e.data.count;getApp().globalData.radarCount=a,t.default.emit("radar.unreads.change",{count:a})})},checkExistCorp:function(e,t){var a=this;if(e&&e.cardid)return r.default.market.corp.existmember(t).then(function(t){var i=t.data,r=i.isexist,n=i.issubscribe,o=i.mobile;return r||a.marketJoin(e),a.checkNeedReplaceMobile(e,r,n,o),{isexist:r,issubscribe:n,mobile:o}})},marketJoin:function(e){var t=this;return r.default.market.corp.join({data:{cardid:e.cardid}}).then(function(e){return e.code!==a.default.PARAM_MISSING||(t.verifyMobile(),!1)})},verifyMobile:function(){wx.showModal({content:"请完成名片手机号验证",confirmText:"去认证",success:function(e){e.confirm&&wx.navigateTo({url:"/pages/changemobile/changemobile"})}})},checkNeedReplaceMobile:function(e,t,a,i){a||!t||t&&+i==+e.mobile||this.replaceMobileModel(e,i)},replaceMobileModel:function(e,t){var a=this;wx.showModal({title:"你已加入商务雷达",content:"将关注手机更新为: "+e.mobile+"\n或继续使用原手机: "+t,confirmText:"更新手机",cancelText:"不更换",success:function(t){return a.replaceMobile(e,t.confirm)}})},replaceMobile:function(e,t){r.default.market.corp.replacemobile({data:{cardid:e.cardid,op:t?"replace":"notreplace"}}).then(function(){wx.showToast({title:"提交成功",duration:500})})}}; 
 			}); 
		define("public/utils/wx-polyfill.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";if(Object.defineProperty(exports,"__esModule",{value:!0}),"function"!=typeof Object.assign&&(Object.assign=function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");t=Object(t);for(var n=1;n<arguments.length;n++){var e=arguments[n];if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t}),String.prototype.padEnd||(String.prototype.padEnd=function(t,n){return t>>=0,n=String(void 0!==n?n:" "),this.length>t?String(this):((t-=this.length)>n.length&&(n+=n.repeat(t/n.length)),String(this)+n.slice(0,t))}),String.prototype.padStart||(String.prototype.padStart=function(t,n){return t>>=0,n=String(void 0!==n?n:" "),this.length>t?String(this):((t-=this.length)>n.length&&(n+=n.repeat(t/n.length)),n.slice(0,t)+String(this))}),!wx.showLoading){var t=void 0;wx.showLoading=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n.icon="loading",n.duration=1e4,clearInterval(t),wx.hideToast(),wx.showToast(n),t=setInterval(function(){wx.hideToast(),wx.showToast(n)},8e3)},wx.hideLoading=function(){wx.hideToast(),clearInterval(t)}}exports.default=wx; 
 			}); 
		define("utils/api-config.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={component:{siteauthorizer:{showqrcode:["DOWNLOAD"]}},market:{corp:{existmember:[]}},minicard:{agent:{getcompanyinfo:[]},card:{viewv2:[],getallcard:[]}},site:{activity:{view:[],verify:["POST"],upload:["POST"],sign:["POST"],setlivestatus:["POST"],release:["POST"],myapplylists:[],lists:[],getattachmentlists:[],getorderlists:[],delete:["POST"],apply:["POST"],applylists:[],getlivesignature:[],getpushurl:[]},address:{add:["POST"],delete:["POST"],lists:[],update:["POST"]},admin:{accept:["POST"],add:["POST"],setserver:["POST"],delete:["POST"],lists:[],quit:["POST"],search:[],setspeech:["post"],view:[]},agent:{account:[],getisreadversion:[],getcompanyinfo:[]},attachment:{create:["POST"],delete:["POST"],lists:[],update:["POST"],upload:["POST"]},authenticate:{cancel:["POST"],create:["POST"],update:["POST"],view:[]},bargain:{create:["POST"],delete:["POST"],detail:[],getranklists:[],lists:[],mylists:[],setstatus:["post"],update:["post"],view:[]},category:{add:["POST"],delete:["POST"],listsv2:[],update:["POST"]},categorynavigation:{add:["POST"],addsecondcategory:["POST"],delete:["POST"],lists:[],sort:["POST"],update:["POST"],updatesecondcategory:["POST"],view:[],getproductlists:[]},code:{paybill:[]},consult:{getcard:[],lists:[],sendcard:["POST"],view:[]},content:{add:["POST"],addv2:["POST"],delete:["POST"],setlike:["POST"],lists:[],preview:[],savepreview:["POST"],settop:["POST"],update:["POST"],view:[]},coupons:{create:["POST"],get:["POST"],getdatalists:[],getlists:[],managelists:[],mylists:[],myoptimallists:[],setput:["POST"],view:[]},distribute:{withdraw:["POST"],view:[],viewmember:[],verifymember:["POST"],updatemember:["POST"],set:["POST"],setproductbrokerage:["POST"],remmit:["POST"],getwithdrawlists:[],getvisitorlists:[],gettplprotocol:[],getproductlists:[],getmywithdrawlists:[],getmemberlists:[],getmybrokeragelists:[],getbrokeragelists:[],deleteproduct:["POST"],applymember:["POST"],addproduct:["POST"]},editor:{contentlists:[],relatenav:[],relatemodel:[]},field:{add:["POST"],delete:["POST"],lists:[],update:["POST"]},focus:{lists:[],mylists:[],set:["POST"]},form:{lists:[],view:[],submit:["POST"]},groupon:{complete:["POST"],create:["POST"],delete:["POST"],getlaunchlists:[],join:["POST"],lists:[],notify:["POST"],manage:[],mylistsv2:[],start:["POST"],update:["POST"],view:[]},home:{deleteview:["POST"],lists:[],save:["POST"],searchlist:[],settop:["POST"],view:[]},lottery:{view:[],update:["POST"],start:["POST"],end:["POST"],offeraward:["POST"],lists:[],getwinlists:[],getmywinlists:[],getaward:["POST"],draw:["POST"],delete:["POST"],add:["POST"]},manager:{lists:[],view:[]},mch:{set:["POST"],view:[]},member:{setbasic:["POST"],getgradelists:[],delgrade:["POST"],setgrade:["POST"],apply:["POST"],setverify:["POST"],update:["POST"],lists:[],motifyintegral:["POST"],view:[],getgradeloglists:[],getgradeproductlists:[],addproduct:["POST"],deleteproduct:["POST"],viewbasic:[]},message:{lists:[],notifylists:[],view:[]},miniapp:{delete:["POST"],lists:[],postaudit:["POST"],upgradeversion:["POST"],getrediectapplists:[]},model:{lists:[],getlistbysid:[],purchasemodel:["POST"]},nav:{add:["POST"],delete:["POST"],lists:[],sort:["POST"],update:["POST"],view:[]},site:{bindqywx:["POST"],checkorder:[],create:["POST"],calculateexpiretime:["POST"],delete:["POST"],getcasecategorylists:[],getcaselists:[],getcaselistsv2:[],getisfirstviewsite:[],getviewlists:[],getqywxbindsid:[],push:["POST"],recordcreatestep:["POST"],renew:["POST"],setcardtype:["POST"],update:["POST"],updateauthsite:["POST"],view:[],viewhomepage:[],loginpc:[],viewingsite:[],apply:["POST"]},searchkeyword:{add:["POST"],delete:["POST"],lists:[],update:["POST"]},services:{add:["POST"],update:["POST"],delete:["POST"],lists:[],stafflists:[],view:[],settop:["POST"]},servicesstaff:{add:["POST"],delete:["POST"],update:["POST"],lists:[],search:[],view:[],settop:["POST"],relatecategory:[],relateservice:[]},servicesorder:{add:["POST"],addv2:["POST"],cancel:["POST"],confirm:["POST"],delete:["POST"],lists:[],mylists:[],search:[],view:[],viewv2:[],agreerefund:["POST"],applyrefund:["POST"],getmyordercount:[]},shopcart:{add:["POST"],count:[],delete:["POST"],lists:[],setselect:["POST"],submitorder:["POST"],updatenumber:["POST"]},shopaddress:{create:["POST"],delete:["POST"],lists:[],update:["POST"]},style:{view:[],update:["POST"]},tab:{create:["POST"],delete:["POST"],lists:[],sort:["POST"],update:["POST"]},tag:{lists:[]},template:{getcategorylists:[],gettemplatelists:[],gettpllistsbyversionv2:[],gettpllistsbyversion:[],usetemplate:["POST"],view:[]},transfer:{add:["POST"]},productorder:{add:["POST"],addv2:["POST"],applyrefund:["POST"],cancel:["POST"],complete:["POST"],completev2:["POST"],confirmreceipt:["POST"],del:["POST"],deliver:["POST"],merchantcancel:["POST"],mylists:[],view:[],lists:[],refund:["POST"],refundv2:["POST"],rejectrefund:["POST"],search:[],sendunpaidmsg:["POST"],getmyordercount:[]},paybill:{set:["POST"],lists:[],pay:["POST"]},productcase:{add:["POST"],addv2:["POST"],delete:["POST"],lists:["GET"],settop:["POST"],update:["POST"],view:["GET"]},quicklink:{add:["POST"],delete:["POST"],lists:["GET"],sort:["POST"],update:["POST"],view:["GET"]},quicklinkicon:{add:["POST"],delete:["POST"],lists:["GET"]},usercenter:{lists:[],setopen:["POST"]},visitor:{lists:[]},withdraw:{apply:["POST"],lists:[],view:[]},express:{update:["POST"],query:[],expresslist:[]}},chat:{chat:{exitchat:["POST"]},message:{send:["POST"]}},v4:{qrcode:{siterenew:["DOWNLOAD"]},weapp:{getdatafromscene:[],wxusermobile:["POST"],collectformid:["POST"]},weappcard:{favlist:[],create:["POST"],search:[],searchbymobile:[],getcard:[],view:[],verifymobile:["POST"],createv2:["POST"]},receipt:{searchsuggest:[],getcompanytaxnumber:[]},site:{recommendlist:[],upload:["POST"]},swiftpass:{prepay:["POST"],cancelorder:["POST"]},wechatpay:{prepay:["POST"]}}}; 
 			}); 
		define("utils/api.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}function t(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}function r(e){return getApp().getTokens().then(function(t){var r=t.accesstoken,n=t.openid;if(!r)return new Promise(function(t){Object.assign(e,{openid:n,realname:"",avatar:""}),t()});Object.assign(e,{accesstoken:r})})}function n(e){var t=e.url,n=e.method,i=void 0===n?"GET":n,u=e.data,c=void 0===u?{}:u,s=e.header,l=void 0===s?{}:s,p=e.complete,v=void 0===p?function(){}:p,g=e.query,h=void 0===g?{}:g,m=e.upload,y=void 0===m?"":m;return r(h).then(function(){var e=Object.keys(h).map(function(e){return e+"="+h[e]}).join("&");return t+="?"+e,new Promise(function(e,r){var n=a(e,r,v);if(y){var u=o({upload:y,data:c}),s=u.filePath,d=u.formData;wx.uploadFile(f({url:t,filePath:s,name:y,formData:d},n))}else{var p=getApp().globalData,g=p.fromuid,h=p.fromapp;c=Object.assign(c,{fromuid:g||"",fromapp:h||""}),wx.request(f({url:t,method:i,data:c,header:l},n))}})}).then(function(e){return(0,d.default)(e.data.code,"weAppSite")?new Promise(function(){}):e})}function a(e,t,r){return{success:function(r){if("string"==typeof r.data)try{r.data=JSON.parse(r.data.trim())}catch(e){console.error("error: ",r.data),t(r.data)}e(r)},fail:function(e){console.error("request error: ",e),t(e)},complete:r}}function o(e){var t=e.data,r=e.upload,n={},a=t[r];return delete t[r],Object.keys(t).forEach(function(e){t[e]instanceof Array?t[e].forEach(function(t,r){n[e+"["+r+"]"]=t}):n[e]=t[e]}),{formData:n,filePath:a}}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p;if(e instanceof Array){var r=c(e,1)[0],n=void 0===r?"GET":r;return"DOWNLOAD"===n?null:m(t,n.toLowerCase())}var a={};return Object.keys(e).forEach(function(r){a[r]=i(e[r],t+"/"+r)}),a}function u(e){var t=e.url,r=e.method,n=e.header,a=void 0===n?{}:n,o=e.data,i=void 0===o?{}:o;return getApp().getTokens().then(function(e){var n=e.accesstoken,o=e.openid;return t=t+(t.indexOf("?")>-1?"&":"?")+"accesstoken="+n,new Promise(function(e,u){wx.request({url:t,method:r,header:Object.assign({},a,(0,l.generateHeaderParams)()),data:Object.assign({},i,{accesstoken:n,openid:o}),success:function(t){0==+t.data.code?e(t.data.data):u(t)},fail:u})})})}Object.defineProperty(exports,"__esModule",{value:!0});var c=function(){function e(e,t){var r=[],n=!0,a=!1,o=void 0;try{for(var i,u=e[Symbol.iterator]();!(n=(i=u.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){a=!0,o=e}finally{try{!n&&u.return&&u.return()}finally{if(a)throw o}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};exports.minicardRequest=u;var s=e(require("api-config")),d=e(require("../public/pages/signin-page/checkIfNeedSignin")),l=require("../public/utils/api-signature"),p=e(require("./config")).default.host,v=function(e,t){return new Promise(function(r,n){e.formData&&(!0===t&&(t=Object.keys(t)),t&&t.length&&(t.forEach(function(t){e.formData[t]=encodeURIComponent(e.formData[t])}),e.formData.encode=1)),getApp().getTokens(function(t){wx.uploadFile(Object.assign({},e,{url:e.url+(e.url.includes("?")?"&":"?")+"accesstoken="+t.accesstoken,success:function(t){"string"==typeof t.data&&(t.data=JSON.parse(t.data.trim())),"function"==typeof e.success&&e.success(t),r(t)},fail:function(t){"function"==typeof e.fail&&e.fail(t),n(t)}}))})})},g=function(e){return e.method="GET",n(e)},h=function(e){return e.method="POST",n(e)},m=function(e){for(var r=arguments.length,a=Array(r>2?r-2:0),o=2;o<r;o++)a[o-2]=arguments[o];var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"get",u={request:n,upload:v,get:g,post:h};return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(r.url=e,"function"==typeof u[i]){for(var n=arguments.length,o=Array(n>1?n-1:0),c=1;c<n;c++)o[c-1]=arguments[c];return u[i].apply(u,[r].concat(t(Object.assign([],a,o))))}}},y=i(s.default);exports.default=f({},y,{site:f({},y.site),get:g,post:h,upload:v,request:n,getUserInfo:r,minicardRequest:u}); 
 			}); 
		define("utils/api2.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}function r(e,r){var t={};for(var n in e)r.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}function t(e){var t=e.desc,n=void 0===t?"":t,o=e.showLoading,i=void 0===o||o,a=r(e,["desc","showLoading"]),u=function(e){wx.showModal({title:n+"失败",content:e,showCancel:!1})};if(n){i&&wx.showLoading({title:""+n,mask:!0});var c=a.complete;a.complete=function(){wx.hideLoading(),c&&c()}}return f.default.request(a).then(function(e){var r=e.data;return 0===r.code?r.data:(n&&u(r.message),console.log("api2: ",r),Promise.reject(r))},function(e){return n&&u("网络问题，请稍后再试"),Promise.reject(e)})}function n(e){var r=e.url,t=e.query,n=void 0===t?{}:t;return f.default.getUserInfo(n).then(function(){var e=Object.keys(n).map(function(e){return e+"="+n[e]}).join("&");return r+="?"+e,new Promise(function(e,t){wx.downloadFile({url:r,success:function(r){var t=r.tempFilePath;e(t)},fail:t})})}).catch(function(e){console.log("Download Error: ",e)})}function o(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;if(e instanceof Array)return i(r,e);var t={};return Object.keys(e).forEach(function(n){t[n]=o(e[n],r+"/"+n)}),t}function i(e,r){var o=a(r,1)[0],i=void 0===o?"GET":o;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};switch(i){case"DOWNLOAD":return Object.assign(r,{url:e}),n(r);default:return Object.assign(r,{url:e,method:i}),t(r)}}}Object.defineProperty(exports,"__esModule",{value:!0});var a=function(){function e(e,r){var t=[],n=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(n=(a=u.next()).done)&&(t.push(a.value),!r||t.length!==r);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&u.return&&u.return()}finally{if(o)throw i}}return t}return function(r,t){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return e(r,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),u=e(require("./api-config")),c=e(require("./config")),f=e(require("./api")),l=c.default.host,s=o(u.default);exports.default=s; 
 			}); 
		define("utils/category-util.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function t(t){return t&&t.__esModule?t:{default:t}}function e(t,e){return e.forEach(function(e){var a=t.find(function(t){return+t.catid==+e});a&&(a.isSelected=!0)}),t}function a(t){return t.filter(function(t){return 2===t.level})}Object.defineProperty(exports,"__esModule",{value:!0});var i=t(require("./api2")),r=t(require("./util")),s={addTo:function(t){t.setData({cateList:[],selectedCateArr:[]}),Object.assign(t,{loadCategoryList:function(t){var r=this,s=this.data.site.navid,c=this.data.selectedCateArr;wx.showLoading({title:"加载数据中...",mask:!0}),i.default.site.category.listsv2({data:{navid:s,op:"set"},desc:"加载分类数据",complete:wx.hideLoading}).then(function(i){"service"===t&&(i=a(i));var s=e(i,c);r.setData({cateList:s})})},createCategory:function(t){var e=this,a=this.data.site,s=a.sid,c=a.navid;i.default.site.category.add({data:{sid:s,navid:c,catname:t},desc:"分类创建"}).then(function(t){wx.showToast({title:"分类创建成功"});var a=r.default.extend(t,{isSelected:!0}),i=e.data,s=i.cateList,c=i.selectedCateArr;s.push(a),c.push(""+a.catid),e.setData({cateList:s,selectedCateArr:c})})},toggleSelectCategory:function(t){var e=t.currentTarget.dataset.index,a=this.data,i=a.cateList,r=a.selectedCateArr,s=a.mode,c=i[e],n=c.catid,d=c.isSelected;if("view"===s){if(c.isSelected=!d,d){var o=r.indexOf(""+n);r.splice(o,1)}else r.push(n);this.setData({cateList:i,selectedCateArr:r})}},formatSelectedCategoryArr:function(t){var e=this.data.cateList;return t.map(function(t){var a=e.find(function(e){return+e.catid==+t});return{catid:t,catname:a.catname}})},saveCategorySelectedInfo:function(){var t=this.data.selectedCateArr,e=this.formatSelectedCategoryArr(t);this.$emit("select.category",e),wx.navigateBack()}})}};exports.default=s; 
 			}); 
		define("utils/cleanJSON.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict"; 
 			}); 
		define("utils/config.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e="https://api.xcxzhan.com",t="https://api.xcxzhan.com/v4",o=t+"/weapp";exports.default={host:e,hostV4:t,WX_APP_NAME:"site",appName:"小官网",appVersion:"V2.31.7",mpName:"小官网",copyright:"Copyright © 2012-2017 IBOS 版权所有 ",company:"深圳市博思协创网络科技有限公司",homepage:"https://www.wodequn.com/",SITE_APPID:"wxb6eef443a6b04494",model:[{modid:"1",modname:"单页图文类",modtemplate:"singlepage",status:1},{modid:"2",modname:"新闻资讯类",modtemplate:"news",status:1},{modid:"3",modname:"产品销售类",modtemplate:"product",status:1},{modid:"4",modname:"服务预约类",modtemplate:"service",status:1},{modid:"5",modname:"产品展示类",modtemplate:"case",status:1},{modid:"9",modname:"活动类",modtemplate:"activity",status:1}],loginFromWeAppUrl:o+"/login",loginFromHhirdpartyUrl:o+"/loginviacomponent",sendCodeUrl:"https://api.xcxzhan.com/users/sendcode",deviceInfoUrl:o+"/deviceinfo"}; 
 			}); 
		define("utils/countdown.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(exports,"__esModule",{value:!0});var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),i=function(){function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:getCurrentPages()[getCurrentPages().length-1];t(this,i),Object.assign(this,{page:n,options:e}),this.__init()}return n(i,[{key:"__init",value:function(){this.setData=this.page.setData.bind(this.page),this.restart(this.options)}},{key:"setDefaults",value:function(){return{date:"June 7, 2087 15:03:25",refresh:1e3,offset:0,onEnd:function(){},render:function(t){}}}},{key:"mergeOptions",value:function(t){var n=this.setDefaults();for(var i in n)n.hasOwnProperty(i)&&(this.options[i]=void 0!==t[i]?t[i]:n[i],"date"===i&&"object"!==e(this.options.date)&&(this.options.date=new Date(this.options.date)),"function"==typeof this.options[i]&&(this.options[i]=this.options[i].bind(this)))}},{key:"getDiffDate",value:function(){var t=(this.options.date.getTime()-Date.now()+this.options.offset)/1e3,e={years:0,days:0,hours:0,min:0,sec:0,millisec:0};return t<=0?(this.interval&&(this.stop(),this.options.onEnd()),e):(t>=31557600&&(e.years=Math.floor(t/31557600),t-=365.25*e.years*86400),t>=86400&&(e.days=Math.floor(t/86400),t-=86400*e.days),t>=3600&&(e.hours=Math.floor(t/3600),t-=3600*e.hours),t>=60&&(e.min=Math.floor(t/60),t-=60*e.min),e.sec=Math.round(t),e.millisec=t%1*1e3,e)}},{key:"leadingZeros",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return(t=String(t)).length>e?t:(Array(e+1).join("0")+t).substr(-e)}},{key:"update",value:function(t){return this.options.date="object"!==(void 0===t?"undefined":e(t))?new Date(t):t,this.render(),this}},{key:"stop",value:function(){return this.interval&&(clearInterval(this.interval),this.interval=!1),this}},{key:"render",value:function(){return this.options.render(this.getDiffDate()),this}},{key:"start",value:function(){var t=this;return!this.interval&&(this.render(),this.options.refresh&&(this.interval=setInterval(function(){t.render()},this.options.refresh)),this)}},{key:"updateOffset",value:function(t){return this.options.offset=t,this}},{key:"restart",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.mergeOptions(t),this.interval=!1,this.start(),this}}]),i}();exports.default=i; 
 			}); 
		define("utils/debounce.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(t,r,u){return void 0===u?(0,e.default)(t,r,!1):(0,e.default)(t,u,!1!==r)};var e=function(e){return e&&e.__esModule?e:{default:e}}(require("./throttle")); 
 			}); 
		define("utils/formvalid-config.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t={tel:new RegExp("^((\\d{1,5})?(((0\\d{2,3}|400|800)-?)?\\d{7,8}(-\\d{3,5})?|1\\d{10}))$"),logoChar:new RegExp("(?:[一-龻\\w])"),notEmpty:/\S/,mobile:new RegExp("1\\d{10}"),email:/^.+@.+\..+$/};exports.validateForm=function(e){var r={name:[{test:function(t){return t.length},errMsg:"官网名称不能为空"}],companyname:[{test:function(t){return t.length},errMsg:"公司名不能为空"}],tel:[{test:function(e){return t.tel.test(e)},errMsg:"电话格式有误"}],mchid:[{test:function(t){return 10===(""+t).length},errMsg:"商户号至少十位"}],key:[{test:function(t){return!/[^\dA-Za-z]/.test(t)},errMsg:"api密钥只能包含数字和英文"},{test:function(t){return 32===t.length},errMsg:"api密钥长度为32位"}],mobile:[{test:function(e){return t.mobile.test(e)},errMsg:"手机格式错误"}],email:[{test:function(e){return t.email.test(e)},errMsg:"邮箱格式错误"}]},n=[];return Object.keys(e).forEach(function(t){if(r[t]){var o=r[t].find(function(r){return!r.test(e[t])});o&&n.push(o.errMsg)}}),!n.length||(wx.showModal({title:"验证提示",content:n.join(";\r\n"),showCancel:!1}),!1)},exports.getLogoChar=function(e){var r=e.match(t.logoChar);return r?r[0]:""},exports.isLocalFile=function(t){return/^wxfile:\/\//.test(t)||/^http:\/\/tmp\//.test(t)}; 
 			}); 
		define("utils/icons.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function n(n){return t||(t=new Promise(function(n){wx.request({url:"https://oss.ibos.cn/common/json/site/icon.json",success:function(t){var e=t.data;return n(e)}})})),t.then(function(t){return"nav"===n?t.map(function(n){return Object.assign({},n,{list:n.list.filter(function(n){return!n.tabOnly})})}):t})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=n,exports.getIconById=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return n().then(function(n){return new Promise(function(e){n.forEach(function(n){n.list.forEach(function(o){o.id===t&&e({type:n.type,icon:o})})})})})};var t=void 0; 
 			}); 
		define("utils/mobile-util.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=function(e){return e&&e.__esModule?e:{default:e}}(require("api")),i=getApp().globalData,o=i.app,n=i.appid,r=function(e){return e.showErrorTip=!1,t.default.v4.weappcard.verifymobile(e)},a={changeMobile:r,verifyMobile:r,create:r,getMobile:function(e){return e.showErrorTip=!1,t.default.v4.weapp.wxusermobile(e)}};exports.default={api:a,checkPrepareMobileGet:function(e){var t=this;wx.getSystemInfo({success:function(i){i.SDKVersion>="1.2.0"&&(e.setData({useMobileGet:!0}),t.preLogin())}})},preLogin:function(){wx.showLoading({title:"加载中..."}),wx.login({success:function(t){return e=t.code},complete:wx.hideLoading}),setInterval(function(){wx.login({success:function(t){return e=t.code}})},27e4)},handleMobileGet:function(t){return new Promise(function(i,r){/getPhoneNumber:fail/.test(t.errMsg)?r():(wx.showLoading({title:"获取中...",mask:!0}),a.getMobile({data:{code:e,iv:t.iv,encryptedData:t.encryptedData,app:o,appid:n},complete:wx.hideLoading}).then(i,r))})}}; 
 			}); 
		define("utils/order-util.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(e){var t={};return Object.keys(e).forEach(function(n){var r=e[n].val;t[n]=r}),t}function r(e){return e.items.every(function(e){return e.status})}function o(e){return u.default.site.site.view({data:{sid:e}}).catch(function(e){if(-100005===e.code)throw new Error("该官网已被删除，无法进行支付");return Promise.reject(e)})}function c(e,t,n){var r=getApp().globalData,o=r.app,c=r.appid,a={openid:r.tokens.openid,appid:c,app:"site"===o?"site":+n,from:"site_product",fee:e,orderid:""+t};return u.default.v4.wechatpay.prepay({data:a,query:{app:a.app},desc:"预支付创建"})}function a(e){return new Promise(function(t,n){wx.requestPayment(Object.assign({},e,{success:function(e){wx.showToast({title:"支付成功",icon:"success"}),t(e)},fail:function(e){var t=e.errMsg;if(!/cancel/.test(t))throw new Error(t)}}))})}function i(e){var t=e.id,n=e.sid,r=e.formid,o=e.refundCb,c=function(e){return l.default.qAlert(e,"退款提示","我知道了")};l.default.collectFormid(r),u.default.site.productorder.refundv2({data:{id:t,sid:n,formid:r}}).then(function(){wx.showToast({title:"已同意退款"}),o&&o()}).catch(function(e){console.log(e),c(e.message)})}Object.defineProperty(exports,"__esModule",{value:!0});var d,u=e(require("./api2")),l=e(require("./util")),s=e(require("../public/components/modalview/modalview")),f=e(require("/../public/components/dialog/dialog")),p=1209600,m={unpaid:{val:0,desc:"待支付"},paid:{val:1,desc:"待发货"},deliver:{val:10,desc:"已发货"},done:{val:2,desc:"已完成"},cancel:{val:3,desc:"已取消"},refund:{val:11,desc:"退款"},confirm:{val:12,desc:"已收货"}},h={none:{val:0,desc:""},apply:{val:5,desc:"申请退款中"},applyAfterSale:{val:11,desc:"申请售后中"},refunded:{val:6,desc:"已同意退款"},rejected:{val:7,desc:"已拒绝退款"},refunding:{val:13,desc:"退款中"},refundSuccess:{val:14,desc:"退款成功"},refundFail:{val:8,desc:"退款失败"}},v=function(e){var t=[];return Object.keys(e).forEach(function(n){var r=e[n],o=r.val,c=r.desc;t[o]=c}),t}(m),w=n(m),E=n(h),x={COMPLETE:"complete",PAY:"pay",CANCEL:"cancel",DEL:"del",DELIVER:"deliver",CONFIRM:"confirm",REFUND_APPLY:"refund_apply",REFUND_APPLY_AFTERSALE:"refund_apply_aftersale",REFUND_REJECT:"refund_reject",REFUND_DONE:"refund_done"},y=(d={},t(d,x.COMPLETE,"done"),t(d,x.PAY,"paid"),t(d,x.CANCEL,"cancel"),t(d,x.DELIVER,"deliver"),t(d,x.CONFIRM,"confirm"),t(d,x.REFUND_APPLY,"apply"),t(d,x.REFUND_APPLY_AFTERSALE,"applyAfterSale"),t(d,x.REFUND_REJECT,"rejected"),t(d,x.REFUND_DONE,"refunded"),d),_=[{name:"全部",status:"all"}].concat(Object.keys(m).filter(function(e){return"cancel"!==e&&"confirm"!==e}).map(function(e){return{name:m[e].desc,status:e}})),F={contents:[{type:"text",text:"退款确认",style:"font-size: 18px; color: #000; line-height: 2;"},{type:"text",text:"确定后，请登陆微信支付商户平台，交易中心-交易订单，处理退款。"},{type:"text",text:"(https://pay.weixin.qq.com)",style:"color: #09bb07",selectable:!0}],buttons:[{text:"取消",type:"default"},{text:"确定"}]};exports.default={orderNavTags:_,orderStatusMap:w,refundStatusMap:E,orderDescList:v,orderAction:x,actionResultStatusMap:y,REFUND_REASON_PATH:"https://oss.ibos.cn/common/json/site/refund_reason.json",delOrder:function(e,t,n,r){l.default.collectFormid(t);var o="profile"===r?"my":"manage";wx.showModal({title:"操作提醒",content:"确定删除该笔订单？",success:function(t){t.confirm&&u.default.site.productorder.del({data:{orderid:e,op:o},desc:"删除订单"}).then(function(){wx.showToast({title:"订单删除成功"}),n&&n()})}})},deliverOrder:function(e,t,n){l.default.collectFormid(t),u.default.site.productorder.deliver({data:e,desc:"订单状态更新"}).then(function(){wx.showToast({title:"订单已发货"}),n&&n()})},confirmOrder:function(e,t,n){l.default.collectFormid(t),wx.showModal({title:"操作提醒",content:"请确认您已收到货物？",success:function(t){t.confirm&&u.default.site.productorder.confirmreceipt({data:{orderid:e},desc:"订单状态更新"}).then(function(){wx.showToast({title:"已收货"}),n&&n()})}})},completeOrder:function(e,t){wx.showModal({title:"操作提醒",content:"确定已完成这笔订单？",success:function(n){n.confirm&&u.default.site.productorder.completev2({data:{orderid:e},desc:"订单状态更新"}).then(function(){wx.showToast({title:"已完成这笔订单"}),t&&t()})}})},cancelOrder:function(e,t,n){l.default.collectFormid(t),wx.showModal({title:"操作提醒",content:"确定取消该笔订单？",success:function(t){t.confirm&&u.default.site.productorder.cancel({data:{orderid:e},desc:"取消订单"}).then(function(){wx.showToast({title:"订单已取消"}),n&&n()})}})},cancelOrderByMerchant:function(e,t,n,r){l.default.collectFormid(n),wx.showModal({title:"操作提醒",content:"确定取消该笔订单？",success:function(n){n.confirm&&u.default.site.productorder.merchantcancel({data:{id:e,sid:t},desc:"取消订单"}).then(function(){wx.showToast({title:"订单已取消"}),r&&r()})}})},payOrder:function(e){var t=e.sid,n=e.id,i=e.order,d=e.formid,u=e.payCb,s=getApp().globalData.app,f=function(e){return l.default.qAlert(e,"支付提示","我知道了")};if(!r(i))return f("订单关联产品已被删除");l.default.collectFormid(d);var p=i.app,m=i.appname;return 0==+p&&"thirdparty"===s?f("该订单是在“小官网”小程序创建的，请前往“小官网”--“我的订单”支付"):1==+p&&"site"===s?f("该订单是在“"+(m||"独立")+"小程序”创建的，请前往“"+(m||"独立")+"小程序”--“我的订单”支付"):void o(t).then(function(e){var t=e.mchid;if("thirdparty"===s&&0===t)throw new Error("商家未配置微信支付，无法完成在线支付");return c(i.total_fee,n,t)}).then(function(e){return a(e.jsparams)}).then(function(){u&&u()}).catch(function(e){console.log(e),f(e.message)})},rejectRefund:function(e,t,n,r,o){f.default.prompt({scope:t,title:"拒绝退款理由",type:"textarea",placeholder:"请输入拒绝理由",placeholderStyle:"font-size: 15px;",maxlength:-1,onConfirm:function(c){var a=e.data[""+t].content;if(!a)return!1;u.default.site.productorder.rejectrefund({data:{id:n,formid:r,rejectreason:a}}).then(function(){wx.showToast({title:"已拒绝退款"}),o&&o(a)})}}),l.default.collectFormid(r)},refund:function(e,t){if("site"===getApp().globalData.app){var n=t.refund;wx.showModal({title:"操作提示",content:"退款金额："+n/100+"元，同意退款后，系统会自动将退款金额返还至买家的微信钱包，请确认退款金额无误后再进行操作。是否同意退款？",confirmText:"同意",success:function(e){e.confirm&&i(t)}})}else e.$$refundGuideModal?e.$$refundGuideModal.show():(F.buttons[1].tap=function(){return i(t)},e.$$refundGuideModal=(0,s.default)(e,F))},isWithinFortnight:function(e){var t=new Date(e.replace(/-/g,"/"));return Math.round((Date.now()-t)/1e3)<=p}}; 
 			}); 
		define("utils/page-enhance.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";var e=Page;Page=function(r){return e(r)}; 
 			}); 
		define("utils/plans.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){var r=t.find(function(r){return r.code===+e});if(r)return r;throw new Error("不存在的version："+e)}function r(n){try{var t=e(n),o=[t.code];return t.upgrade&&t.upgrade.forEach(function(e){var n=r(e);o=o.concat(n)}),o}catch(e){return[]}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.VERSION=exports.getVersions=exports.getName=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(require("version")),t=[];n.default.versions.filter(function(e){return!e.suspended}).forEach(function(e){return t.push(e)}),function(e,r){e.forEach(function(e){0!==e.code&&e.contents.push("生成"+e.weapp+"个小程序"),e.contents=e.contents.map(function(e){for(var r=/\$\{(.+?)\}/g,n=0,t=[],o=void 0;o=r.exec(e);)t.push({val:e.slice(n,o.index)}),n=o.index+o[0].length,t.push({style:"color: #50c74e;",val:o[1]});return n<e.length&&t.push({val:e.slice(n,e.length)}),t})})}(t,n.default.modelContents);var o={SINGLE_PAGE:0,COMPANY_DISPLAY:3,CPMPANY_SITE:1,SERVICE_ORDER:4,COMPANY_E_COMMERCE:2,FULL_FEATURE:5};exports.getName=function(r){try{return e(r).name}catch(e){return"未识别的版本"}},exports.getVersions=function(e){if(e){var n=r(e);return t.filter(function(e){return n.includes(e.code)})}return t},exports.VERSION=o; 
 			}); 
		define("utils/quicklink-icon.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getQuicklinkIcon=function(){return new Promise(function(n,o){wx.request({url:"https://oss.ibos.cn/common/json/site/quickicon.json",success:function(t){200===t.statusCode?n(t.data):o("get quicklink error")},fail:function(){o("get quicklink error")}})})},exports.getIconUrl=function(n){return"http://ibosapp.oss-cn-hangzhou.aliyuncs.com/common/site/quickicon/daohang"+n+".png"}; 
 			}); 
		define("utils/service-util.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}function t(e,t,r){var i=[];return e&&e.split(",").forEach(function(e){i.push(d[parseInt(e,10)])}),e?"所选服务时间超出商家营业时间(周"+i.join("、 ")+", "+a(t)+"-"+a(r)+"), 请重新选择":"该站点暂未设置上班时间,无法提交预约！"}function a(e){var t=Math.floor(e/3600),a=Math.floor(e/60)%60;return(""+t).padStart(2,"0")+":"+(""+a).padStart(2,"0")}function r(e){var t=e.app,a=e.applyid,r=e.mchid,i=e.total_fee,n=getApp().globalData,o={openid:n.tokens.openid,appid:n.appid,from:"site_service",fee:i,applyid:""+a};return new Promise(function(e,a){u.default.v4["site"===t?"swiftpass":"wechatpay"].prepay({data:o,query:{app:"site"===t?"site":+r}}).then(function(t){var r=t.jsparams;wx.requestPayment(s({},r,{success:e,fail:a}))}).catch(a)})}function i(e){return u.default.site.site.view({data:{sid:e}}).then(function(e){return e.mchid})}function n(e){wx.showModal({title:"操作提示",content:e,showCancel:!1,confirmText:"我知道了",success:function(e){e.confirm&&wx.redirectTo({url:"/pages/profile/reservationlist/reservationlist"})}})}function o(){for(var e=new Date,t=[],a=0;a<7;a++){var r=new Date(e.getFullYear(),e.getMonth(),e.getDate()+a);t.push(r.getFullYear()+"-"+(""+(r.getMonth()+1)).padStart(2,"0")+"-"+(""+r.getDate()).padStart(2,"0"))}return t}function p(e,t){for(var a=parseInt(e.split(":")[0],10),r=parseInt(t.split(":")[0],10),i=[],n=a;n<=r;n++)i.push((""+n).padStart(2,"0"));return i}Object.defineProperty(exports,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},u=e(require("./api2")),c=e(require("./util")),l=e(require("./config")),d=["一","二","三","四","五","六","日"];exports.default={MODEL_PROJECT:"services_project",MODEL_USER:"services_staff",_isWorkingTimeRange:function(e){var a=e.time,r=e.workday,i=e.worktimebegin,n=e.worktimeend;if((new Date).getTime()>new Date(a.replace(/-/g,"/")).getTime())return{isTimeValid:!1,vailTimeTip:"所选服务时间早于当前时间，请重新选择"};var o=a.split(" "),p=new Date(o[0].replace(/-/g,"/")).getDay()-1,s=r.split(",").includes(""+(-1===p?6:p)),u=o[1].split(":"),c=3600*parseInt(u[0],10)+60*parseInt(u[1],10),l=c>=i&&c<=n;return{isTimeValid:s&&l,vailTimeTip:t(r,i,n)}},_formateInitTime:function(e,t){var r=[];return e=a(e),t=a(t),r.push(o()),r.push(p(e,t)),r.push(["00","30"]),r},getUserCardContent:function(e){return new Promise(function(t,a){u.default.v4.weappcard.view({data:e}).then(function(e){t(e.card)})})},submitReservation:function(e,t,a){var i=t.app,o=t.mchid;u.default.site.servicesorder.addv2({data:e,desc:"提交预约"}).then(function(e){return 0!=+e.total_fee&&e.ispay?"wxwork"===getApp().globalData.environment?(n("企业微信内暂不支持支付！请前往微信--小程序，搜索：“小官网”后进入对应官网进行支付。"),void(a&&a())):void r(s({app:i,mchid:o},e)).then(function(e){n("您的服务预约已提交成功！"),a&&a()}).catch(function(){n("支付失败，你可以稍后在我的预约页面继续完成支付")}):(n("您的服务预约已提交成功！"),void(a&&a()))})},servicePay:r,payServiceOrder:function(e){if(!e.appid)return Promise.reject("订单不支持支付");var t=function(e){return c.default.qAlert(e,"支付提示","我知道了")},a=e.appid===l.default.SITE_APPID,n=e.appname,o=getApp().globalData,p=o.app,s=o.sid;return a&&"thirdparty"===p?t("该订单是在“小官网”小程序创建的，请前往“小官网”--“我的预约”支付"):a||"site"!==p?"wxwork"===getApp().globalData.environment?(wx.showModal({title:"提示",content:"企业微信内暂不支持支付！请前往微信--小程序，搜索：“小官网”后进入对应官网进行支付。",showCancel:!1,confirmText:"我知道了"}),Promise.reject()):"thirdparty"===p?i(s).then(function(t){return r({app:p,mchid:t,applyid:e.applyid,total_fee:e.total_fee})}):r({app:"site",mchid:0,applyid:e.applyid,total_fee:e.total_fee}):t("该订单是在“"+(n||"独立")+"小程序”创建的，请前往“"+(n||"独立")+"小程序”--“我的预约”支付")},openSiteLocation:function(e){var t=e.addresslat,a=e.addresslng,r=e.address;t&&wx.openLocation({latitude:t,longitude:a,name:r})},makePhoneCall:function(e,t){wx.makePhoneCall({phoneNumber:t,success:function(){c.default.saveCallRecord(e)}})},updateCoverDisplay:function(e,t,a,r,i){i||e.setData({coverHieght:r*(a/t),isFixCoverHieght:!0})}}; 
 			}); 
		define("utils/style-utils.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.formatTabColor=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;t=t||"1ebb23";var o=function(r){return"filter: drop-shadow("+e+"rpx 0 0 "+r+"); -webkit-filter:drop-shadow("+e+"rpx 0 0 "+r+");"};return{tabNormal:o(r),tabActive:o("#"+t),tabTextNormal:"color: "+r+";",tabTextActive:"color: #"+t+";"}};var r="#7f8389"; 
 			}); 
		define("utils/throttle.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(e,t,o,n){function i(){function i(){r=Number(new Date),o.apply(a,f)}var a=this,c=Number(new Date)-r,f=arguments;n&&!u&&i(),u&&clearTimeout(u),void 0===n&&c>e?i():!0!==t&&(u=setTimeout(n?function(){u=void 0}:i,void 0===n?e-c:e))}var u,r=0;return"boolean"!=typeof t&&(n=o,o=t,t=void 0),i.cancel=function(){clearTimeout(u)},i}; 
 			}); 
		define("utils/uploadFileToAliyun/Base64.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(t){var e="",o=void 0,d=void 0,i=void 0,a=void 0,h=void 0,n=void 0,C=void 0,c=0;for(t=r.utf8Encode(t);c<t.length;)a=(o=t.charCodeAt(c++))>>2,h=(3&o)<<4|(d=t.charCodeAt(c++))>>4,n=(15&d)<<2|(i=t.charCodeAt(c++))>>6,C=63&i,isNaN(d)?n=C=64:isNaN(i)&&(C=64),e=e+this._keyStr.charAt(a)+this._keyStr.charAt(h)+this._keyStr.charAt(n)+this._keyStr.charAt(C);return e},decode:function(t){var e="",o=void 0,d=void 0,i=void 0,a=void 0,h=void 0,n=void 0,C=0;for(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");C<t.length;)o=this._keyStr.indexOf(t.charAt(C++))<<2|(a=this._keyStr.indexOf(t.charAt(C++)))>>4,d=(15&a)<<4|(h=this._keyStr.indexOf(t.charAt(C++)))>>2,i=(3&h)<<6|(n=this._keyStr.indexOf(t.charAt(C++))),e+=String.fromCharCode(o),64!==h&&(e+=String.fromCharCode(d)),64!==n&&(e+=String.fromCharCode(i));return e=r.utf8Decode(e)},utf8Encode:function(r){r=r.replace(/\r\n/g,"\n");for(var t="",e=0;e<r.length;e++){var o=r.charCodeAt(e);o<128?t+=String.fromCharCode(o):o>127&&o<2048?(t+=String.fromCharCode(o>>6|192),t+=String.fromCharCode(63&o|128)):(t+=String.fromCharCode(o>>12|224),t+=String.fromCharCode(o>>6&63|128),t+=String.fromCharCode(63&o|128))}return t},utf8Decode:function(r){for(var t="",e=0,o=0,d=0,i=0;e<r.length;)(o=r.charCodeAt(e))<128?(t+=String.fromCharCode(o),e++):o>191&&o<224?(d=r.charCodeAt(e+1),t+=String.fromCharCode((31&o)<<6|63&d),e+=2):(d=r.charCodeAt(e+1),i=r.charCodeAt(e+2),t+=String.fromCharCode((15&o)<<12|(63&d)<<6|63&i),e+=3);return t}};exports.default=r; 
 			}); 
		define("utils/uploadFileToAliyun/crypto.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r={};!function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=r.util={rotl:function(r,t){return r<<t|r>>>32-t},rotr:function(r,t){return r<<32-t|r>>>t},endian:function(r){if(r.constructor===Number)return 16711935&n.rotl(r,8)|4278255360&n.rotl(r,24);for(var t=0;t<r.length;t++)r[t]=n.endian(r[t]);return r},randomBytes:function(r){for(var t=[];r>0;r--)t.push(Math.floor(256*Math.random()));return t},stringToBytes:function(r){for(var t=[],n=0;n<r.length;n++)t.push(r.charCodeAt(n));return t},bytesToString:function(r){for(var t=[],n=0;n<r.length;n++)t.push(String.fromCharCode(r[n]));return t.join("")},stringToWords:function(r){for(var t=[],n=0,e=0;n<r.length;n++,e+=8)t[e>>>5]|=r.charCodeAt(n)<<24-e%32;return t},bytesToWords:function(r){for(var t=[],n=0,e=0;n<r.length;n++,e+=8)t[e>>>5]|=r[n]<<24-e%32;return t},wordsToBytes:function(r){for(var t=[],n=0;n<32*r.length;n+=8)t.push(r[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(r){for(var t=[],n=0;n<r.length;n++)t.push((r[n]>>>4).toString(16)),t.push((15&r[n]).toString(16));return t.join("")},hexToBytes:function(r){for(var t=[],n=0;n<r.length;n+=2)t.push(parseInt(r.substr(n,2),16));return t},bytesToBase64:function(r){if("function"==typeof btoa)return btoa(n.bytesToString(r));for(var e,o=[],u=0;u<r.length;u++)switch(u%3){case 0:o.push(t.charAt(r[u]>>>2)),e=(3&r[u])<<4;break;case 1:o.push(t.charAt(e|r[u]>>>4)),e=(15&r[u])<<2;break;case 2:o.push(t.charAt(e|r[u]>>>6)),o.push(t.charAt(63&r[u])),e=-1}for(void 0!==e&&-1!==e&&o.push(t.charAt(e));o.length%4!=0;)o.push("=");return o.join("")},base64ToBytes:function(r){if("function"==typeof atob)return n.stringToBytes(atob(r));r=r.replace(/[^A-Z0-9+\/]/gi,"");for(var e=[],o=0;o<r.length;o++)switch(o%4){case 1:e.push(t.indexOf(r.charAt(o-1))<<2|t.indexOf(r.charAt(o))>>>4);break;case 2:e.push((15&t.indexOf(r.charAt(o-1)))<<4|t.indexOf(r.charAt(o))>>>2);break;case 3:e.push((3&t.indexOf(r.charAt(o-1)))<<6|t.indexOf(r.charAt(o)))}return e}};r.mode={}}(),exports.default=r; 
 			}); 
		define("utils/uploadFileToAliyun/env.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={aliyunServerURL:"https://ibosapp.oss-cn-hangzhou.aliyuncs.com/",accesskey:"hNQsP4JCm/c389ngREkH7NlpAZA=",accessid:"9k1kgyxu8j7fxq9edmkdjrpr",timeout:87600,maxSize:20}; 
 			}); 
		define("utils/uploadFileToAliyun/hmac.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=function(e){return e&&e.__esModule?e:{default:e}}(require("crypto.js"));!function(){var t=e.default.util;e.default.HMAC=function(e,s,r,o){for(var i=r=r.length>4*e._blocksize?e(r,{asBytes:!0}):t.stringToBytes(r),n=r.slice(0),u=0;u<4*e._blocksize;u++)i[u]^=92,n[u]^=54;var a=e(t.bytesToString(i)+e(t.bytesToString(n)+s,{asString:!0}),{asBytes:!0});return o&&o.asBytes?a:o&&o.asString?t.bytesToString(a):t.bytesToHex(a)}}(),exports.default=e.default; 
 			}); 
		define("utils/uploadFileToAliyun/sha1.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=function(e){return e&&e.__esModule?e:{default:e}}(require("crypto.js"));!function(){var r=e.default.util,t=e.default.SHA1=function(e,s){var o=r.wordsToBytes(t._sha1(e));return s&&s.asBytes?o:s&&s.asString?r.bytesToString(o):r.bytesToHex(o)};t._sha1=function(e){var t=r.stringToWords(e),s=8*e.length,o=[],a=1732584193,u=-271733879,n=-1732584194,f=271733878,i=-1009589776;t[s>>5]|=128<<24-s%32,t[15+(s+64>>>9<<4)]=s;for(var l=0;l<t.length;l+=16){for(var d=a,v=u,c=n,_=f,y=i,g=0;g<80;g++){if(g<16)o[g]=t[l+g];else{var b=o[g-3]^o[g-8]^o[g-14]^o[g-16];o[g]=b<<1|b>>>31}var h=(a<<5|a>>>27)+i+(o[g]>>>0)+(g<20?1518500249+(u&n|~u&f):g<40?1859775393+(u^n^f):g<60?(u&n|u&f|n&f)-1894007588:(u^n^f)-899497514);i=f,f=n,n=u<<30|u>>>2,u=a,a=h}a+=d,u+=v,n+=c,f+=_,i+=y}return[a,u,n,f,i]},t._blocksize=16}(),exports.default=e.default; 
 			}); 
		define("utils/uploadFileToAliyun/upload.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("env")),a=e(require("Base64"));require("hmac"),require("sha1");var i=e(require("crypto")),r=e(require("../../public/lib/md5.min"));exports.default={uploadFile:function(e,a,i,s,o){if(!e||e.length<9)wx.showModal({title:"视频错误",content:"请重试",showCancel:!1});else{var l=(0,r.default)((new Date).getTime())+i,d=a+l,c=t.default.aliyunServerURL,f=t.default.accessid,g=u(),v=n(g);wx.showLoading({title:"上传视频中..."}),wx.uploadFile({url:c,filePath:e,name:"file",formData:{key:d,OSSAccessKeyId:f,policy:g,Signature:v,success_action_status:"200"},success:function(e){if(200===e.statusCode){var a=t.default.aliyunServerURL+d;s(a,l),wx.hideLoading()}else o(new Error("上传错误:"+JSON.stringify(e)))},fail:function(e){e.wxaddinfo=c,o(e),wx.hideLoading()}})}}};var u=function(){var e=new Date;e.setHours(e.getHours()+t.default.timeout);var i={expiration:e.toISOString(),conditions:[["content-length-range",0,20971520]]};return a.default.encode(JSON.stringify(i))},n=function(e){var a=t.default.accesskey,r=i.default.HMAC(i.default.SHA1,e,a,{asBytes:!0});return i.default.util.bytesToBase64(r)}; 
 			}); 
		define("utils/util.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}function t(e,t){var a=e,n="",i=void 0,o=void 0;if(1==+t.id)return"/pages/website/index/index?sid="+t.sid;var r=a.find(function(e){return+e.modid==+t.modid});return i=r?r.modtemplate:"",n=Object.keys(t).map(function(e){return e+"="+t[e]}).join("&"),o=1==+t.modid?i:4==+t.modid?"link"===t.op?("services_project"===t.model?"project":"user")+"/view/view":"list/list":"link"===t.op?"view/view":"list/list","/pages/model/"+i+"/"+o+"?"+n}function a(e){var t=getApp().globalData,a=t.fromuid,n=t.appid;c.default.site.site.push({data:{appid:n,node:"sharesite",sid:e,fromuid:a}}).then(function(e){console.log(e)})}function n(e){if("object"!==(void 0===e?"undefined":i(e))||!e||e instanceof Promise||e instanceof Map||e instanceof Set||e instanceof Function||e instanceof Date||e instanceof RegExp)return e;if(e instanceof Array)return e.map(function(e){return n(e)});var t=Object.create(e.__proto__);return Object.keys(e).reduce(function(t,a){return"object"===i(e[a])?t[a]=n(e[a]):t[a]=e[a],t},t)}Object.defineProperty(exports,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};exports.deepClone=n;var o=e(require("../public/utils/util")),r=require("../public/utils/api-signature"),s=e(require("./config")),c=e(require("./api2")),d=e(require("./throttle")),u=e(require("./debounce")),p=e(require("../public/utils/authorize")),l=!1,f=!1;exports.default=Object.assign({},o.default,{createModelUrl:t,collectFormid:function(e){var t=getApp().globalData,a=t.appid,n=t.app;if(e)return new Promise(function(t,i){c.default.v4.weapp.collectformid({data:{formid:e,app:n,appid:a}}).then(function(e){console.log("已收集formid")})})},collectFromData:function(e){var t=e.fromuid,a=e.source,n=getApp(),i=n.globalData,o=i.fromuid,r=i.fromapp;n.globalData.fromuid=t||o||"",n.globalData.fromapp=a||r||""},collectSiteCreatData:function(e){var t=e.node,a=e.pid,n=void 0===a?0:a,i=e.params,o=void 0===i?{}:i,r=e.sid,s=void 0===r?0:r,d=getApp();return new Promise(function(e,a){d.getTokens().then(function(i){i.accesstoken,c.default.site.site.recordcreatestep({data:{node:t,pid:n,params:o,sid:s}}).then(function(t){e(t)}).catch(function(e){a(e)})})})},updateNavBarTitle:function(e,t){var a=t.find(function(t){return t.model.navid===e});a&&wx.setNavigationBarTitle({title:a.title})},updateViewSiteStatus:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"exit",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=getApp(),n=a.globalData,i=n.appid;if(n.tokens.accesstoken){var o="view"===e?{appid:i,sid:t,op:e}:{appid:i,op:e};c.default.site.site.viewingsite({data:o}).then(function(t){"exit"===e&&(a.globalData.fromuid="",a.globalData.fromapp="")})}},uploadMultipleImages:function(e){if(e&&e.length){wx.showLoading({title:"上传图片中..."});var t=e.map(function(e){return c.default.site.attachment.upload({data:{file:e,recordid:""},upload:"file"})});return Promise.all(t).then(function(e){wx.hideLoading();var t=[];return e.forEach(function(e){t.push({aid:e.fieldid,source:e.url})}),e.length!==t.length&&wx.showModal({content:e.length-t.length+"上传失败",showCancel:!1}),t},wx.hideLoading)}return Promise.reject("文件路径错误")},showQrcode:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"preview",n=getApp(),i=e.redirect;return new Promise(function(o,r){n.getTokens().then(function(r){var s=r.accesstoken,c=r.uid,d=void 0;if("thirdparty"===i)d="http://ibosapp.oss-cn-hangzhou.aliyuncs.com/site/sitehome.png?timestamp="+Date.now();else{var u=e.modid,p="https://api.xcxzhan.com/site/code/sitev2";d=5==+u?p+"?accesstoken="+s+"&sid="+e.sid+"&navid="+e.navid+"&catid="+e.catid+"&caseid="+e.caseid+"&type="+e.modid+"&op="+e.op+"&app="+(e.app||n.globalData.app)+"&appid="+(e.appid||n.globalData.appid)+"&fromuid="+c+"&timestamp="+Date.now():4==+u?p+"?accesstoken="+s+"&sid="+e.sid+"&navid="+e.navid+"&catid="+e.catid+"&id="+e.id+"&type="+e.modid+"&model="+e.model+"&level="+e.level+"&op="+e.op+"&app="+(e.app||n.globalData.app)+"&appid="+(e.appid||n.globalData.appid)+"&fromuid="+c+"&timestamp="+Date.now():p+"?accesstoken="+s+"&sid="+e.sid+"&navid="+e.navid+"&catid="+e.catid+"&cid="+e.cid+"&type="+e.modid+"&op="+e.op+"&app="+(e.app||n.globalData.app)+"&appid="+(e.appid||n.globalData.appid)+"&fromuid="+c+"&timestamp="+Date.now()}a(e.sid),"getUrl"!==t?wx.previewImage({urls:[d]}):o(d)})})},formatSidebarNavUrl:function(e,a){for(var n=s.default.model,i=0;i<e.length;i++){var o=e[i].model,r={sid:e[i].sid,id:e[i].id,modid:o.modid,navid:o.navid,catid:o.catid,cid:o.cid};e[i].navUrl=t(n,r),e[i].navid===a&&(e[i].isSelected=!0)}return e},getCardInfo:function(){var e=getApp(),t=(0,r.generateHeaderParams)(),a=t.token,n=t.platform,i=t.createtime;e.getTokens().then(function(t){t.accesstoken,c.default.minicard.card.viewv2({header:{createtime:i,platform:n,token:a},data:{isdefault:1}}).then(function(t){e.globalData.card=t.card})})},getBargainShareImageUrl:function(e){var t=getApp();return new Promise(function(a,n){t.getTokens().then(function(t){var n="https://api.xcxzhan.com/site/code/sharebargain?accesstoken="+t.accesstoken+"&"+Object.keys(e).map(function(t){return t+"="+e[t]}).join("&")+"&timestamp="+Date.now();a(n)})})},getGrouponShareImageUrl:function(e){var t=getApp();return new Promise(function(a,n){t.getTokens().then(function(t){var n="https://api.xcxzhan.com/site/code/sharegroupon?accesstoken="+t.accesstoken+"&"+Object.keys(e).map(function(t){return t+"="+e[t]}).join("&")+"&timestamp="+Date.now();a(n)})})},getVersionIsReadStatus:function(e){return new Promise(function(t,a){c.default.site.agent.getisreadversion({data:{app:"site",version:e}}).then(function(e){t(e)})})},getLotteryShareImageUrl:function(e){return getApp().getTokens().then(function(t){return"https://api.xcxzhan.com/site/code/lottery?accesstoken="+t.accesstoken+"&"+Object.keys(e).map(function(t){return t+"="+e[t]}).join("&")+"&timestamp="+Date.now()}).catch(function(e){console.log("err",e)})},loadVserionHistory:function(){return new Promise(function(e,t){wx.request({url:"https://oss.ibos.cn/common/json/site/history.json?timestamp="+Date.now(),success:function(t){var a=t.data;e(a)},fail:function(e){t(e)}})})},saveShareRecord:a,saveCallRecord:function(e){var t=getApp().globalData.fromuid;c.default.site.site.push({data:{node:"call",sid:e,fromuid:t}}).then(function(e){console.log(e)})},savePaymentRecord:function(e){var t=getApp().globalData.fromuid;c.default.site.site.push({data:{node:"payproductorder",sid:e,fromuid:t}}).then(function(e){console.log(e)})},pushRadarNews:function(e,t,a,n){var i=getApp().globalData.fromuid;c.default.site.site.push({data:{node:e,sid:t,fromuid:i,timestamp:n,params:a}}).then(function(e){console.log(e)})},pushWatchVideoEvent:function(e,t,a){var n=getApp().globalData.fromuid;return new Promise(function(i,o){c.default.site.site.push({data:{node:"watchvideo",sid:e,fromuid:n,timestamp:t,params:a}}).then(function(e){i(e)}).catch(function(e){o(e)})})},throttle:d.default,debounce:u.default,setTheme:function(e){var t=e.character,a=e.theme;wx.setNavigationBarColor({frontColor:"#"+(t||"000000"),backgroundColor:"#"+(a||"ffffff")})},countDown:function(e,t,a,n){var i=0;!function o(){(i+=t)>e?"function"==typeof n&&n(e):setTimeout(function(){"function"==typeof a&&a(i,e),o()},1e3*t)}()},saveInternetImgToLocal:function(e){return wx.showLoading({title:"保存中.."}),new Promise(function(t,a){wx.downloadFile({url:e,success:function(e){var n=e.tempFilePath;wx.saveImageToPhotosAlbum({filePath:n,success:function(e){wx.hideLoading(),/ok/g.test(e.errMsg)?t(n):a("保存图片到本地出现错误")},fail:function(){wx.hideLoading(),a("保存图片到本地出现错误")}})},fail:function(){wx.hideLoading(),a("下载图片出现错误")}})})},saveOriginSiteData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(t,a){var n=getApp().globalData.originSite,i=n.sid,o=n.name;if(i)wx.showModal({content:"请返回“"+o+"”官网后，再搜索访问当前官网",showCancel:!1,confirmText:"我知道了"}),a("暂时不支持访问嵌套官网");else{var r=getCurrentPages().length-1;getApp().globalData.originSite=Object.assign({},e,{pageindex:r}),t(getApp().globalData.originSite)}})},deleteOriginSiteData:function(){var e=getApp().globalData.originSite,t=e.sid,a=e.pageindex,n=getCurrentPages().length-1;t&&n===a&&(getApp().globalData.originSite={})},deepClone:n,savePhotoToAlbum:function(e){return new Promise(function(t,a){wx.saveImageToPhotosAlbum({filePath:e,success:t,fail:function(e){return p.default.writePhotosAlbum(e,t,a)}})})},getNow:function(){return!l&&getApp().globalData.isIniOS?new Date(Date.now()+288e5):new Date},getDate:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return!f&&getApp().globalData.isIniOS?new Date(Date.now()+288e5+e):new Date(Date.now()+e)},backToStackPage:function(e){for(var t=getCurrentPages(),a=0,n=t.length-1;n>=0;n--)RegExp(e).test(t[n].route)&&(a=t.length-1-n);return a>0&&wx.navigateBack({delta:a}),a>0}}); 
 			}); 
		define("utils/version-util.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e,n){return new Promise(function(t,i){o.default["site"===e?"site":"minicard"].agent.getcompanyinfo({data:{agentid:n,from:"site"},desc:"获取代理商信息"}).then(function(e){t(e)})})}function n(e,n,t){var o="site"===e?"小官网":"小名片";wx.showModal({title:"操作提示",content:"该官网由"+o+"服务商“"+n+"”提供服务，请联系该服务商进行续费升级操作。",confirmText:"立即联系",cancelText:"我知道了",success:function(e){e.confirm&&wx.makePhoneCall({phoneNumber:t})}})}function t(){wx.showModal({title:"升级提示",content:"企业微信内暂不支持升级续费官网",confirmText:"我知道了",showCancel:!1})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.updateVersion=function(o){var i=o.sid,a=o.agentid,r=o.agentapp,c=o.agentmobile,s=getApp().globalData.environment;"site"===r?2==+a?"wxwork"===s?t():wx.navigateTo({url:"/pages/site-create/renew/renew?sid="+i}):e(r,a).then(function(e){var t=e.corpname;n(r,t,c)}):e(r,a).then(function(e){var t=e.corpname;n(r,t,c)})};var o=function(e){return e&&e.__esModule?e:{default:e}}(require("./api2")); 
 			}); 
		define("utils/version.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={versions:[{code:0,name:"单页展示型",shortname:"单页型",alias:"单页展示型官网",desc:"仅有一个展示页面",slogan:"可在微信传播的简单页面",price:0,years:[1],hasTrial:!1,models:[],weapp:1,upgrade:[3],contents:["站点设置、官网信息、图文编辑、名片、视频、地址"]},{code:3,name:"企业展示型",shortname:"展示型",alias:"基础展示型官网",desc:"多页面图文展示",slogan:"简单的图文展示企业信息",price:599,years:[1,2,3,5],hasTrial:!0,models:[1],weapp:1,upgrade:[1],contents:["站点设置、官网信息、${多管理员}、${在线客服}、${访问轨迹}、图文编辑、名片、视频、地址、${栏目管理}、${快捷导航}、${底部导航}","单页图文、可视化编辑器"]},{code:1,name:"企业官网型",shortname:"官网型",alias:"企业展示型官网",desc:"小程序官网、产品展示",slogan:"展示企业案例与项目，可在线与访客沟通",price:1280,years:[1,2,3,5],hasTrial:!0,models:[1,2,5],weapp:1,upgrade:[2,4],contents:["站点设置、官网信息、多管理员、在线客服、访问轨迹、图文编辑、名片、视频、地址、栏目管理、快捷导航、底部导航、${万能表单}、${搜索}、${VR全景图}","${优惠券}、${快速买单}、${微信支付}、${官网收入提现}、${会员}","${添加新闻资讯}、${新闻分类}","${添加产品展示}、${产品分类}"]},{code:4,name:"服务预约型",shortname:"预约型",alias:"服务预约型官网",desc:"线下服务，在线预约",slogan:"在线预约线下服务，买家凭码前往门店享受服务",price:2680,years:[1,2,3,5],hasTrial:!0,models:[1,2,4],weapp:1,upgrade:[5],contents:["站点设置、官网信息、多管理员、在线客服、访问轨迹、图文编辑、名片、视频、地址、栏目管理、快捷导航、底部导航、万能表单、搜索、VR全景图","优惠券、快速买单、微信支付、官网收入提现、会员","添加新闻资讯、新闻分类","${添加服务/人员}、${服务分类}、${在线预约}、${扫码核销}、${预约管理}、${多门店地址管理}"]},{code:2,name:"企业电商型",shortname:"电商型",alias:"社交电商型官网",desc:"在线支付、下单购买",slogan:"微信内也能卖货，在线轻松成单",price:3980,years:[1,2,3,5],hasTrial:!0,models:[1,2,3],weapp:1,upgrade:[5],contents:["站点设置、官网信息、多管理员、在线客服、访问轨迹、图文编辑、名片、视频、地址、栏目管理、快捷导航、底部导航、万能表单、搜索、VR全景图、${分类导航}","优惠券、快速买单、微信支付、官网收入提现、会员、${购物车}、${拼团}、${砍价}","新闻资讯、新闻分类","${商品展示}、${商品分类}、${商品交易}、${商品订单}、${商品分销}"]},{code:5,name:"全功能旗舰版",shortname:"全能型",alias:"全能型官网",desc:"适用各种场景",slogan:"包含以上所有功能",price:5880,years:[1,2,3,5],hasTrial:!0,models:[1,2,3,4,5],weapp:1,contents:["此版本包含${企业官网型}、${服务预约型}、${企业电商型}所有功能"]}],modelContents:[["站点设置、图文编辑、名片、视频、地图","站点设置、多管理员、多栏目管理、设置客服、快捷导航、${在线客服}、${访问轨迹}、${底部导航}","此版本包含${企业官网型}、${服务预约型}、${企业电商型}所有功能"],"单页图文、${可视化编辑器}","添加新闻资讯、${新闻分类}","添加商品信息、${商品分类}、${商品交易}、${购物车}、${拼团}、订单管理","添加服务、添加人员、${服务分类}、${在线预约}、预约管理","添加产品展示、${产品分类}"]}; 
 			}); 
		define("app.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}var t=require("public/utils/host"),i=e(require("public/utils/user")),n=e(require("public/components/collections")),u=e(require("public/utils/socket")),a=e(require("public/components/withinmsg/record")),o=e(require("utils/config")),r=e(require("utils/util")),l=require("public/utils/request");require("./public/utils/wx-polyfill"),require("./public/utils/page-enhance"),(0,t.rewriteHostAndPrefix)(o.default.host),App({globalData:{model:o.default.model,app:o.default.WX_APP_NAME,WX_APP_NAME:o.default.WX_APP_NAME,appid:o.default.SITE_APPID,environment:"wx",version:"2.31.7",fromuid:"",fromapp:"",originSite:{},card:{},provider:{},providerView:{},get tokens(){return i.default.getTokensSync()}},onLaunch:function(e){var t=this;if(this.query=e?r.default.parseLaunchQueryString(e.query):{},wx.getSystemInfoSync){var n=wx.getSystemInfoSync(),s=n.environment,f=n.model,c=o.default.hostV4+"/user/wechatloginv2",d=o.default.host+"/miniappsuite/user/login",p=s?d:c;this.globalData.environment=s?"wxwork":"wx",i.default.api.login=function(e){return(0,l.post)(p,e)},this.globalData.isIniOS=/iPhone|iPad/.test(f)}i.default.setDefaultParams({fromuid:this.query.fromuid,app:this.globalData.app,appid:this.globalData.appid}),wx.getExtConfig&&wx.getExtConfig({success:function(e){var i=e.extConfig;if(!r.default.isEmptyObject(i)){var n=i.ext.attr,u=n.sid,a=n.version;t.globalData.sid=u,t.globalData.version=a}}}),u.default.on(u.default.EVENT_TYPES.MESSAGE_CHAT,function(e){var t=e.params;a.default.load(t)})},onShow:function(){var e=this;i.default.getTokens().then(function(t){e.initSocket(t.accesstoken)})},onHide:function(){r.default.updateViewSiteStatus(),wx.removeStorageSync("isReadInit"),wx.removeStorageSync("viewSiteList")},initSocket:function(e){u.default.connect(e)},getTokens:i.default.getTokens.bind(i.default),component:n.default}); 
 			}); 	require("app.js");
 		__wxRoute = 'components/authorize-mobile/authorize-mobile';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/authorize-mobile/authorize-mobile.js';	define("components/authorize-mobile/authorize-mobile.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function t(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e.default=t,e}function e(t){return t&&t.__esModule?t:{default:t}}function i(t){wx.showToast({title:t,image:"/components/authorize-mobile/images/bad-toast.png",duration:3e3})}function n(t,e){wx.showModal({title:t,content:e,showCancel:!1,confirmText:"知道了"})}function o(t){var e=null;return t.mobile?t.verifycode||(e="请输入验证码"):e="请输入手机号",e&&i(e),!e}var s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},a=e(require("../../public/utils/util")),r=e(require("../../public/utils/user")),u=t(require("../../public/utils/request")),c=t(require("../../public/utils/host")),l=e(require("../../public/utils/api"));Component({properties:{isShown:{value:!1,type:Boolean,observer:function(t){this.setData({isShown:t})}}},ready:function(){var t=this;r.default.getTokens().then(function(e){t.setData({tokens:e})}),this.initEnv()},data:{source:"weAppSite",isShown:!1,tokens:{},useWechat:!0,binding:!1,mobile:"",countDown:0,verifycode:"",authinfo:"授权手机，即可同步订单、优惠券等更多信息！！"},methods:{initEnv:function(){"wx"!==getApp().globalData.environment&&this.setData({useWechat:!1,authinfo:"验证手机，同步官网信息！！"})},signinByWechat:function(t){var e=this,o=t.detail,a=o.errMsg,r=o.iv,u=o.encryptedData;a.includes("getPhoneNumber:fail")?(i("快速获取失败"),this.setData({useWechat:!1})):(this.setData({binding:!0}),this.bindingWxUser(s({iv:r,encryptedData:u},this.data.tokens)).then(function(){wx.showToast({title:"授权成功"}),e.setData({binding:!1}),e.triggerEvent("verifysuccess"),getApp().globalData.tokens.isverifymobile=1},function(t){n("授权手机失败",t.message),console.log("Error in bindMobileByWechat: ",t),e.setData({useWechat:!1})}))},inputMobile:function(t){var e=t.detail.value;this.setData({mobile:e})},getVerifycode:function(){var t=this,e=this.data,n=e.mobile,o=e.source;a.default.isMobile(n)?(this.setData({countDown:60}),this.updateCountDown(Date.now()),l.default.users.sendcode({mobile:n,source:o}).then(function(t){if(wx.showToast({title:"验证码已发送"}),0!==t.code||!t.data.issend)return Promise.reject(t)}).catch(function(e){i("短信发送失败"),t.setData({countDown:0})})):i("手机格式错误")},inputVerifycode:function(t){var e=t.detail.value;this.setData({verifycode:e})},submit:function(){var t=this.data,e=t.mobile,i=t.verifycode,a=t.tokens;o({mobile:e,verifycode:i})&&this.bindingWxUser(s({mobile:e,verifycode:i},a)).then(function(){return wx.showToast({title:"授权成功"})}).catch(function(t){return n("授权手机失败",t.message)})},bindingWxUser:function(t){var e=this;return wx.showLoading({title:"授权中..",mask:!0}),new Promise(function(i,n){var o=getApp().globalData,a=o.app,r=o.appid,u=o.environment,l=c.apiPrefix+"/user/bindmobilev3",f=c.apiHost+"/miniappsuite/user/authmobile",d="wx"===u?l:f,h=s({},t,{app:a,appid:r});e.getLoginCodeOrSessionkey().then(function(t){Object.assign(h,t),e.requestBindingWxUser(d,h).then(function(t){e.statisticslogin("bindmobile"),i(t)})})})},requestBindingWxUser:function(t,e){var i=this;return new Promise(function(n,o){u.post(t,e).then(function(t){if(0===t.code){r.default.updateTokens(t.data),i.setData({isShown:!1});var e=getCurrentPages(),s=e[e.length-1];s&&s.setData({isverifymobile:1}),n(t.data),i.triggerEvent("verifysuccess")}else o(t);wx.hideLoading()})})},getLoginCodeOrSessionkey:function(){var t=this;return new Promise(function(e,i){var n=getApp().globalData,o=n.tokens.sessionkey,s="wx"===n.environment,a=s?wx.checkSession:wx.qy.checkSession,r=s?wx.login:wx.qy.login;a({success:function(){o?e({sessionkey:o}):t.badToast("sessionkey为空")},fail:function(){r({success:function(t){var i=t.code;e({code:i})},fail:function(e){t.badToast(e.errMsg)}})}})})},updateCountDown:function(t){var e=this,i=Date.now(),n=this.data.countDown;n-=(i-t)/1e3,this.setData({countDown:n}),n>0&&setTimeout(function(){return e.updateCountDown(i)},60)},colseDialog:function(){this.setData({isShown:!1})},statisticslogin:function(t){var e=getApp().globalData,i=e.appid,n=e.tokens.openid,o=c.apiPrefix+"/user/statisticslogin";return u.post(o,{appid:i,openid:n,op:t}).then(function(e){console.log(e,"获取用户信息"+t)})}}}); 
 			}); 	require("components/authorize-mobile/authorize-mobile.js");
 		__wxRoute = 'components/back-site/back-site';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/back-site/back-site.js';	define("components/back-site/back-site.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Component({properties:{mode:{type:String,observer:function(t){t&&this.toggleShowFlag(t)}}},data:{showFlag:!1,isInit:!1},ready:function(){var t=getApp().globalData.originSite;t.sid?this.setData({showFlag:!0,isInit:!0,originSite:t}):this.setData({showFlag:!1})},methods:{back:function(){var t=this.data.originSite.pageindex,i=getCurrentPages().length-1;getApp().globalData.originSite={},wx.navigateBack({delta:i-t})},toggleShowFlag:function(t){this.data.isInit&&this.setData({showFlag:"view"===t})}}}); 
 			}); 	require("components/back-site/back-site.js");
 		__wxRoute = 'components/bottom-popup/bottom-popup';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/bottom-popup/bottom-popup.js';	define("components/bottom-popup/bottom-popup.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Component({properties:{visible:{type:Boolean,value:!1,observer:function(i){this.setData({_visible:i})}},position:{type:String,value:"bottom"}},data:{_visible:!1},methods:{hide:function(){this.show(!1)},show:function(){var i=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.setData({_visible:i}),this.triggerEvent("update:visible",{visible:i})}}}); 
 			}); 	require("components/bottom-popup/bottom-popup.js");
 		__wxRoute = 'components/circle-switch/circle-switch';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/circle-switch/circle-switch.js';	define("components/circle-switch/circle-switch.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Component({properties:{checked:{type:Boolean,value:!1,observer:function(e){var t=this;this.setData({_checked:this.properties.checked},function(){t.triggerEvent("switch",t.data._checked)})}},width:{type:String,value:"36rpx"}},data:{_checked:!1},methods:{switch:function(){var e=this;this.setData({_checked:!this.data._checked},function(){e.triggerEvent("switch",e.data._checked)})}}}); 
 			}); 	require("components/circle-switch/circle-switch.js");
 		__wxRoute = 'components/collectform/collectform';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/collectform/collectform.js';	define("components/collectform/collectform.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";var t=function(t){return t&&t.__esModule?t:{default:t}}(require("../../utils/util"));Component({methods:{collectFormId:function(e){var o=e.detail.formId;t.default.collectFormid(o)}}}); 
 			}); 	require("components/collectform/collectform.js");
 		__wxRoute = 'components/content-empty-tip/content-empty-tip';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/content-empty-tip/content-empty-tip.js';	define("components/content-empty-tip/content-empty-tip.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Component({options:{multipleSlots:!0},properties:{tip:{type:String,value:"",observer:function(t){this.setData({tip:t})}},classname:{type:String,value:"",observer:function(t){this.setData({classname:t})}},width:{type:String,value:"calc(100vw - 60rpx)"}},data:{tip:"",classname:""}}); 
 			}); 	require("components/content-empty-tip/content-empty-tip.js");
 		__wxRoute = 'components/copyright/copyright';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/copyright/copyright.js';	define("components/copyright/copyright.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";var t=function(t){return t&&t.__esModule?t:{default:t}}(require("../../utils/api2"));Component({properties:{isInitbar:{type:Boolean,value:!1,observer:function(t){this.setData({isinitbar:t})}},isShown:{type:Boolean,value:!1,observer:function(t){this.setData({isshown:t})}},agentid:{type:Number,observer:function(t){t&&(this.setData({agentid:t}),this.getAgentInfo(t))}},agentapp:{type:String,value:"site",observer:function(t){this.setData({agentapp:t})}}},data:{isInitbar:!1,isShown:!1,isAgentCreat:!1,isShownDialog:!1,agentid:2,agentapp:"site"},methods:{create:function(){wx.navigateTo({url:"/pages/common/miniweb/introduction/introduction"})},getAgentInfo:function(e){var a=this,n=this.data.agentapp;(!getApp().globalData.tokens.accesstoken||"site"===n&&2!=+e||"xmp"===n)&&t.default["site"===n?"site":"minicard"].agent.getcompanyinfo({data:{agentid:e,from:"site"}}).then(function(t){a.setData({isAgentCreat:2!==e,agent:t})})},toggleAgentDialog:function(){var t=this.data.isShownDialog;this.setData({isShownDialog:!t})},makePhoneCall:function(){var t=this.data.agent.mobile;t&&wx.makePhoneCall({phoneNumber:t})}}}); 
 			}); 	require("components/copyright/copyright.js");
 		__wxRoute = 'components/editor/section-activity/item/item';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/editor/section-activity/item/item.js';	define("components/editor/section-activity/item/item.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Component({properties:{item:{type:Object,value:{}},start:Boolean}}); 
 			}); 	require("components/editor/section-activity/item/item.js");
 		__wxRoute = 'components/editor/section-activity/wrapper/wrapper';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/editor/section-activity/wrapper/wrapper.js';	define("components/editor/section-activity/wrapper/wrapper.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Component({properties:{item:{type:Object,value:{}},hideStatus:{type:Boolean,default:!1}}}); 
 			}); 	require("components/editor/section-activity/wrapper/wrapper.js");
 		__wxRoute = 'components/expire-modal/expire-modal';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/expire-modal/expire-modal.js';	define("components/expire-modal/expire-modal.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}var t=e(require("../../utils/api2")),i=e(require("../../public/utils/event-emitter")),s=void 0,n=void 0,a=void 0,r={site:{renew:function(){"wxwork"===n.environment?this.envTip():(this.close(),wx.navigateTo({url:"/pages/site-create/renew/renew?sid="+this.data.sid}))},share:function(){var e=this,t=this.data,i=t.sid,n=t.name,a=function(){return e.close()};s.onShareAppMessage=function(){return{title:"“"+n+"”站点已到期，请及时续费",path:"/pages/site-create/renew/renew?sid="+i,imageUrl:"/images/expire/renew.png",success:a}}}},thirdparty:{renew:function(){var e=n,i=e.sid,s=e.appid;t.default.v4.qrcode.siterenew({query:{sid:i,appid:s}}).then(function(e){wx.previewImage({urls:[e]})})},share:function(){var e=this,t=this.data,i=t.sid,n=t.name,a=function(){return e.close()};s.onShareAppMessage=function(){return{title:"“"+n+"”站点已到期，请及时续费",path:"/pages/website/index/index?sid="+i,imageUrl:"/images/expire/renew.png",success:a}}}}};Component({properties:{isExpireModalShown:{type:Boolean,observer:function(e){this.setData({isExpireModalShown:e})}},iscreator:{type:String,observer:function(e){this.setData({iscreator:e})}},sid:Number,name:String,expiretime:{type:String,observer:"checkExpiration"}},data:{isInSettings:!1,isExpireModalShown:!1,isCloseBtnShown:!1,text:{title:"站点已到期",subTitle:"该站点已到期，暂时无法访问。",renew:"我帮Ta续费"}},created:function(){n=getApp().globalData},methods:{checkExpiration:function(e){var t=Date.now()>Date.parse(e.split(" ")[0]),i=getCurrentPages(),o="pages/website/settings/settings"===(s=i[i.length-1]).route,p="thirdparty"===n.app,c="site"===n.app;if(t&&(o||p||c)){this.setData({isExpireModalShown:!0}),c&&o&&this.setData({isInSettings:!0,text:{title:"续费通知",subTitle:"您的站点已到期，生成的独立小程序将无法访问，请及时续费。",renew:"立即续费"}});var u=s.onShareAppMessage;a=u,r[n.app].share.call(this)}},delete:function(){var e=this.data.sid;wx.showModal({title:"删除官网",content:"删除后，官网数据将无法恢复，确认删除？",success:function(s){s.confirm&&t.default.site.site.delete({data:{sid:e}}).then(function(){wx.showToast({title:"删除成功",mask:!0,success:function(){setTimeout(function(){i.default.emit("list.refresh"),wx.switchTab({url:"/pages/index/index"})},1500)}})})}})},close:function(){this.setData({isExpireModalShown:!1}),s.onShareAppMessage=a},renew:function(){r[n.app].renew.call(this)},envTip:function(){wx.showModal({title:"续费提示",content:"企业微信内暂不支持升级续费官网",confirmText:"我知道了",showCancel:!1})}}}); 
 			}); 	require("components/expire-modal/expire-modal.js");
 		__wxRoute = 'components/fold/fold';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/fold/fold.js';	define("components/fold/fold.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Component({options:{multipleSlots:!0},externalClasses:["title-class"],properties:{isFirstFold:{type:Boolean,value:!0},lrpd:{type:Number,value:30},arrowDirection:{type:String,value:"right"}},data:{isFold:!1,contentHeight:"auto"},ready:function(){this.initHeight(this.properties.isFirstFold)},methods:{initHeight:function(t){var e=this;return new Promise(function(i,n){wx.createSelectorQuery().in(e).select("#content").boundingClientRect(function(n){var o=n.height;e.$contentHeight=o+"px",e.setData({isFold:t,contentHeight:t?"0":e.$contentHeight}),i()}).exec()})},pointTap:function(t){this.setData({isFold:!this.data.isFold,contentHeight:this.data.isFold?this.$contentHeight:"0"})},update:function(){var t=this;this.setData({contentHeight:"auto"}),setTimeout(function(){t.initHeight(t.data.isFold)},50)}}}); 
 			}); 	require("components/fold/fold.js");
 		__wxRoute = 'components/formid-collector/formid-collector';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/formid-collector/formid-collector.js';	define("components/formid-collector/formid-collector.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Component({data:{formIds:[]},methods:{collectFormId:function(o){var t=o.detail.formId,s=this.data.formIds;s.push(t),console.log(s),this.setData({formIds:s})}}}); 
 			}); 	require("components/formid-collector/formid-collector.js");
 		__wxRoute = 'components/input-block/input-block';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/input-block/input-block.js';	define("components/input-block/input-block.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Component({properties:{val:String,showClear:Boolean,focus:Boolean,placeholder:String,confirmType:{type:String,value:"done"},type:String},data:{},methods:{inputHandler:function(t){var e=t.detail.value;return e=e.trimLeft(),this.setData({showClear:!!e}),this.triggerEvent("input",{value:e}),{value:e}},focusHandler:function(t){var e=t.detail.value;this.setData({showClear:!!e}),this.triggerEvent("focus")},blurHandler:function(){this.setData({showClear:!1}),this.triggerEvent("blur")},confirmHandler:function(t){var e=t.detail.value;this.triggerEvent("confirm",{value:e})},clearHandler:function(){this.setData({val:"",showClear:!1,focus:!0}),this.triggerEvent("clear")}}}); 
 			}); 	require("components/input-block/input-block.js");
 		__wxRoute = 'components/list-nomore-tip/list-nomore-tip';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/list-nomore-tip/list-nomore-tip.js';	define("components/list-nomore-tip/list-nomore-tip.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Component({properties:{isShown:{type:Boolean,value:!1,observer:function(t){this.setData({isShown:t})}},tip:{type:String,value:"已到底，可别再拉咯",observer:function(t){this.setData({tip:t})}},backgroundColor:{type:String,value:"#fafafa"}},data:{isShown:!1,tip:"已到底，可别再拉咯"}}); 
 			}); 	require("components/list-nomore-tip/list-nomore-tip.js");
 		__wxRoute = 'components/loading-tip/loading-tip';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/loading-tip/loading-tip.js';	define("components/loading-tip/loading-tip.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Component({properties:{isShown:{value:!1,type:Boolean,observer:function(e){this.setData({isShown:e})}}},data:{isShown:!0}}); 
 			}); 	require("components/loading-tip/loading-tip.js");
 		__wxRoute = 'components/login-modal/login-modal';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/login-modal/login-modal.js';	define("components/login-modal/login-modal.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}function t(e){return e&&e.__esModule?e:{default:e}}var i=t(require("../../public/utils/util")),s=t(require("../../public/utils/user")),n=e(require("../../public/utils/request")),o=e(require("../../public/utils/host"));Component({properties:{isShown:{value:!1,type:Boolean,observer:function(e){this.setData({isShown:e}),e&&this.statisticslogin("authpage")}}},data:{isShown:!1},methods:{getuserinfo:function(e){var t=this,i=e.detail.errMsg;if("wxwork"===getApp().globalData.environment)wx.qy.getEnterpriseUserInfo({success:function(e){i.includes("qy.getEnterpriseUserInfo:fail")||t.authuser(e)}});else if(!i.includes("getUserInfo:fail")){var s=e.detail;this.authuser(s)}},authuser:function(e){var t=this,i=getApp().globalData,a=i.environment,r=i.app,u=i.appid,c=i.tokens,l=c.corpid,p=c.userid,d=c.openid,f=e.encryptedData,g=e.iv,h="wxwork"===a,w=o.apiPrefix+"/user/authuserv2",v=o.apiHost+"/miniappsuite/user/authuser",x=h?v:w,b=Object.assign({app:r,appid:u,encryptedData:f,iv:g},h?{corpid:l,userid:p,openid:d}:{});wx.showLoading({title:"授权中..."}),this.getLoginCodeOrSessionkey().then(function(e){Object.assign(b,e),console.log(b,x,"授权用户参数"),n.post(x,b).then(function(e){var i=e.code,n=e.data;0===i?(s.default.updateTokens(n),wx.showToast({title:"授权成功"}),t.statisticslogin("authuser"),t.reLoad()):t.badToast(e.message),wx.hideLoading()})})},getLoginCodeOrSessionkey:function(){var e=this;return new Promise(function(t,i){var s=getApp().globalData,n=s.tokens.sessionkey,o="wxwork"===s.environment,a=o?wx.qy.checkSession:wx.checkSession,r=o?wx.qy.login:wx.login;a({success:function(){n?(console.log(n,"checkSession success"),t({sessionkey:n})):e.badToast("sessionkey为空")},fail:function(){r({success:function(e){var i=e.code;t({code:i})},fail:function(t){e.badToast(t.errMsg)}})}})})},reLoad:function(){var e=getCurrentPages(),t=e[e.length-1],s="/"+t.route+"?"+i.default.serializeParams(t.__query);1===e.length&&wx.reLaunch?wx.reLaunch({url:s}):wx.redirectTo({url:s})},badToast:function(e){wx.showModal({title:"授权失败",content:e,showCancel:!1,confirmText:"知道了"})},colseDialog:function(){this.setData({isShown:!1})},statisticslogin:function(e){var t=getApp().globalData,i=t.appid,s=t.tokens.openid,a=o.apiPrefix+"/user/statisticslogin";return n.post(a,{appid:i,openid:s,op:e}).then(function(t){console.log(t,"获取用户信息"+e)})}}}); 
 			}); 	require("components/login-modal/login-modal.js");
 		__wxRoute = 'components/logo-creator/logo-creator';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/logo-creator/logo-creator.js';	define("components/logo-creator/logo-creator.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Component({properties:{logoChar:{type:String,observer:function(e,t){var o=this;e?this.drawLogo().then(function(e){o.triggerEvent("logo",{value:e})}):this.triggerEvent("logo",{value:"/images/default/logo.png"})}}},methods:{drawLogo:function(){var e=this,t=this.data.logoChar,o=wx.createCanvasContext("logo",this);return o.setFillStyle("#50c750"),o.fillRect(0,0,100,100),o.setFillStyle("white"),o.setFontSize(46),o.setTextBaseline("middle"),o.setTextAlign("center"),o.fillText(t,50,50),o.draw(),new Promise(function(t,o){setTimeout(function(){wx.canvasToTempFilePath({canvasId:"logo",success:function(e){var o=e.tempFilePath;t(o)},fail:function(e){console.error("Error in drawLogo in logo-creator.js: ",e),o(e)}},e)},200)})}}}); 
 			}); 	require("components/logo-creator/logo-creator.js");
 		__wxRoute = 'components/manage-set/manage-set';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/manage-set/manage-set.js';	define("components/manage-set/manage-set.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Component({properties:{sid:{type:String,value:"",observer:function(t){this.setData({sid:t})}},mode:{type:String,value:"view",observer:function(t){this.setData({mode:t})}},app:{type:String,value:"site",observer:function(t){this.setData({app:t})}},expiretime:{type:String,observer:"checkExpiration"},isFromList:{type:Boolean,value:!1,observer:function(t){this.setData({isFromList:t})}},isEditable:{type:Boolean,value:!1,observer:function(t){this.setData({isEditable:t})}},isTabInit:{type:Boolean,value:!1,observer:function(t){this.setData({isTabInit:t})}}},ready:function(){var t=getCurrentPages();this.currPage=t[t.length-1]},data:{sid:"",app:"site",mode:"view",isexpire:!1,isFromList:!1,isEditable:!1,isTabInit:!1},methods:{checkExpiration:function(t){var e=Date.now()>Date.parse(t.split(" ")[0]);this.setData({isexpire:e})},redirectToMembers:function(){var t=this.data.sid;wx.navigateTo({url:"/pages/profile-entry/members/members?sid="+t})},updateEditStatus:function(){if(this.data.isexpire)this.currPage.setData({isExpireModalShown:!0});else{this.triggerEvent("updatestatus",{});var t=(this.currPage.data.site||this.currPage.data.siteData).content,e=void 0===t?[]:t,i=this.currPage.data.$$editor.sections;e.length||i.length||this.currPage.$$editorAddSection({type:"text",data:{content:""}},0)}},toggleListSettingStatus:function(){var t=this.currPage.data.isListSetting;this.data.isexpire?this.currPage.setData({isExpireModalShown:!0}):this.currPage.setData({isListSetting:!t})}}}); 
 			}); 	require("components/manage-set/manage-set.js");
 		__wxRoute = 'components/navigation-bar/navigation-bar';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/navigation-bar/navigation-bar.js';	define("components/navigation-bar/navigation-bar.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";var t=function(t){return t&&t.__esModule?t:{default:t}}(require("../../utils/api2")),i=void 0;Component({externalClasses:["navtop-exter"],properties:{navigation:{type:"Object",value:{}},mode:{type:"String",value:"view",observer:function(t){this.setData({mode:t||"view"})}}},data:{navigation:{status:!1,isfocus:!1,navs:[],site:{}},mode:"view",isInWeChat:!0},ready:function(){var t=getCurrentPages();i=t[t.length-1];var a="wx"===getApp().globalData.environment;this.setData({isInWeChat:a})},methods:{toggleSidebar:function(t){var a=t.currentTarget.dataset.status,e=this.properties.navigation.site.style.nav;this.sidebarAnimation=this.sidebarAnimation||wx.createAnimation({duration:200,timingFunction:"linear"}),3!==e?this.sidebarAnimation.top(a?"-652rpx":"98rpx").step():this.sidebarAnimation.right(a?"-70vw":"0").step(),this.setData({"navigation.animationData":this.sidebarAnimation.export(),"navigation.status":!a}),i.setData({"sidebar.status":!a})},navigateToSiteIndex:function(){var t=this.data.navigation.site.sid;wx.redirectTo({url:"/pages/website/index/index?sid="+t})},setSiteFocus:function(a){var e=this,s=this.data.navigation.site.sid,n=a.currentTarget.dataset.isfocus,o=n?"cancel":"add";t.default.site.focus.set({data:{sid:s,op:o},desc:"关注操作"}).then(function(){console.log(e),e.setData({"navigation.isfocus":!n}),e.triggerEvent("site:focus",{status:o})}),i.setData({"sidebar.isfocus":!n})},noaction:function(){}}}); 
 			}); 	require("components/navigation-bar/navigation-bar.js");
 		__wxRoute = 'components/share-set/share-set';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/share-set/share-set.js';	define("components/share-set/share-set.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";var e=function(e){return e&&e.__esModule?e:{default:e}}(require("../../utils/util")),t=void 0;Component({properties:{initData:{type:Object,value:{},observer:function(e){this.setData({initdata:e})}},cssIsSidebarShow:{type:Boolean,value:!1,observer:function(e){this.setData({cssIsSidebarShow:e})}},cssIsEditable:{type:Boolean,value:!1,observer:function(e){this.setData({cssIseditable:e})}},cssIsOnlyShare:{type:Boolean,value:!1,observer:function(e){this.setData({cssIsOnlyShare:e})}},isFooterBarShow:{type:Boolean,value:!1,observer:function(e){this.setData({isFooterBarShow:e||!1})}},isSharePluginShow:{type:Boolean,value:!1,observer:function(e){this.setData({isSharePluginShow:e})}},mode:{type:String,value:"view",observer:function(e){this.setData({mode:e})}},origin:{type:String,value:"site",observer:function(e){this.setData({origin:e||"site"})}}},ready:function(){var e=getCurrentPages(),a=getApp().globalData.app;t=e[e.length-1],this.setData({app:a})},data:{initdata:{},isShown:!1,isSharePluginShow:!1,isFooterBarShow:!1,isQrcodeShown:!1,qrcodeUrl:""},methods:{toggleSharePluginsStatus:function(){var e=this.data.isSharePluginShow;this.setData({isSharePluginShow:!e})},showQrcode:function(){var t=this,a=this.data,o=a.initdata,s=a.qrcodeUrl,i=a.origin;this.setData({isQrcodeShown:!0}),s||("site"===i?e.default.showQrcode(o,"getUrl").then(function(e){t.setData({qrcodeUrl:e})}):"groupon"===i?e.default.getGrouponShareImageUrl(o).then(function(e){t.setData({qrcodeUrl:e})}):"bargain"===i?e.default.getBargainShareImageUrl(o).then(function(e){t.setData({qrcodeUrl:e})}):"lottery"===i&&e.default.getLotteryShareImageUrl(o).then(function(e){t.setData({qrcodeUrl:e})}))},hideQrcode:function(){this.setData({isQrcodeShown:!1})},saveImage:function(){var t=this,a=this.data.qrcodeUrl;wx.downloadFile({url:a,success:function(a){var o=a.statusCode,s=a.tempFilePath;200===o&&e.default.savePhotoToAlbum(s).then(function(){wx.showToast({title:"保存成功"}),t.setData({isQrcodeShown:!1,isSharePluginShow:!1})})}})},hideShareComponent:function(){this.setData({isQrcodeShown:!1,isSharePluginShow:!1})},onShareAppMessage:function(){t.onShareAppMessage()}}}); 
 			}); 	require("components/share-set/share-set.js");
 		__wxRoute = 'components/shoppingcart/shoppingcart';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/shoppingcart/shoppingcart.js';	define("components/shoppingcart/shoppingcart.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function t(t){return t&&t.__esModule?t:{default:t}}var e=t(require("../../utils/api2")),i=t(require("../../utils/util"));Component({properties:{initdata:{type:Object,observer:function(t){var e=t.sid,i=t.navid,r=t.catid,d=t.cid,a=t.modid,o=void 0===a?3:a,s=t.op,n=void 0===s?"view":s;this.setData({initdata:t}),d&&this.getProductData({sid:e,navid:i,catid:r,cid:d,modid:o,op:n})}}},data:{initdata:{},slider:{sliderStatus:!1,activeIndex:0},product:{},order:{num:1,repertory:1,type:"",typeid:null,price:0},defaultCover:"/images/default/logo.png"},methods:{getProductData:function(t){var i=this;e.default.site.content.view({data:t,desc:"获取商品数据"}).then(function(t){var e=i.data,r=e.slider.activeIndex,d=e.order,a=t.extras[r],o=a.repertory,s=a.id,n=a.price,l=a.type;d=Object.assign({},d,{repertory:o,type:l,price:n.toFixed(2),typeid:s}),i.setData({product:t,order:d}),i.toggleSlider()})},toggleSlider:function(){var t=this.data.slider.sliderStatus;this.sliderToggleAnimate=this.sliderToggleAnimate||wx.createAnimation({duration:200,timingFunction:"linear"}),this.sliderToggleAnimate.bottom(t?"-1000rpx":0).step(),this.setData({"slider.detailAnimation":this.sliderToggleAnimate.export(),"slider.sliderStatus":!t,"order.num":1,"slider.activeIndex":0})},selectProductType:function(t){var e=t.currentTarget.dataset.index,i=this.data.slider.activeIndex,r=this.data.product.extras[e],d=r.repertory,a=r.type,o=r.price,s=r.id;i!==e&&this.setData({"slider.activeIndex":e,"order.repertory":d,"order.price":o.toFixed(2),"order.type":a,"order.typeid":s,"order.num":d?1:0})},updateOrderCount:function(t){var e=t.currentTarget.dataset.type,i=this.data.order,r=i.num,d=i.repertory;"add"===e?r<d&&r++:r&&r--,this.setData({"order.num":+r})},productNumBlur:function(t){var e=t.detail.value,i=this.data.order.repertory;e>i&&this.showSliderToast("商品库存不足"),this.setData({"order.num":e>i?i:+e})},showSliderToast:function(t){var e=this;this.setData({sliderToastContent:t,showSliderToast:!0}),setTimeout(function(){e.setData({showSliderToast:!1})},1500)},addToCart:function(t){var r=this,d=this.data.product,a=d.catid,o=d.content,s=o.sid,n=o.navid,l=o.cid,u=this.data.order,c=u.num,p=u.typeid,h=t.detail.formId,m=getApp().globalData.appid;c?(e.default.site.shopcart.add({data:{appid:m,sid:s,num:c,model:"product",params:{navid:n,catid:a,cid:l,typeid:p}}}).then(function(t){wx.showToast({title:"已加入购物车"}),r.toggleSlider()}),i.default.collectFormid(h)):this.showSliderToast("请至少添加一件商品到购物车")}}}); 
 			}); 	require("components/shoppingcart/shoppingcart.js");
 		__wxRoute = 'components/site-basic-settings/site-basic-settings';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/site-basic-settings/site-basic-settings.js';	define("components/site-basic-settings/site-basic-settings.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function t(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function e(t,e){return e.map(function(e){for(var a=e.split(t).map(function(t){return{val:t}}),o=[a.shift()];a.length;)o.push({val:t,key:!0}),o.push(a.shift());return{words:o,val:e}})}var a=function(){function t(t,e){var a=[],o=!0,n=!1,r=void 0;try{for(var i,s=t[Symbol.iterator]();!(o=(i=s.next()).done)&&(a.push(i.value),!e||a.length!==e);o=!0);}catch(t){n=!0,r=t}finally{try{!o&&s.return&&s.return()}finally{if(n)throw r}}return a}return function(e,a){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,a);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=require("../../utils/formvalid-config"),n=function(t){return t&&t.__esModule?t:{default:t}}(require("../../utils/api2")),r="/images/default/logo.png",i=getApp(),s={create:{chooseLogo:function(){var t=this;wx.chooseImage({count:1,sizeType:["compressed"],success:function(e){var o=a(e.tempFilePaths,1)[0];t.setData({logo:o,logoAutoGenerating:!1,"form.logo":o})}})}},setting:{chooseLogo:function(){var t=this;wx.showActionSheet({itemList:["上传图片","自动生成"],success:function(e){var o=e.tapIndex;if(0===o)wx.chooseImage({count:1,sizeType:["compressed"],success:function(e){var o=a(e.tempFilePaths,1)[0];t.setData({logo:o})}});else if(1===o){var n=t.data.autoLogo;t.setData({logo:n})}}})}}};Component({options:{multipleSlots:!0},properties:{mode:{type:String,observer:function(t){"setting"===t&&this.setData({logoAutoGenerating:!1})}},name:{type:String,observer:function(t){this.setData({"form.name":t,logoChar:(0,o.getLogoChar)(t)})}},logo:{type:String,value:r,observer:function(t){this.setData({"form.logo":t})}},companyname:{type:String,observer:function(t){this.setData({"form.companyname":t})}},tel:{type:String,observer:function(t){this.setData({"form.tel":t})}},submitText:String,version:{type:String,observe:function(t){this.setData({"form.version":t})}}},data:{logoChar:"",autoLogo:r,logoAutoGenerating:!0,searchingCN:"",companyList:[],companyListShow:!1,form:{name:"",companyname:"",tel:"",logo:r},isIniOS:i.globalData.isIniOS},methods:{input:function(e){var a=e.detail.value,n=e.currentTarget.dataset.key;switch(this.setData(t({},"form."+n,a)),n){case"name":this.setData({logoChar:(0,o.getLogoChar)(a)});break;case"companyname":this.searchCN(a),this.tryGetTel(a)}},clear:function(e){var a=e.currentTarget.dataset.key;switch(this.setData(t({},"form."+a,"")),a){case"name":this.setData({logoChar:""})}},chooseLogo:function(){var t=this.properties.mode;s[t].chooseLogo.apply(this,arguments)},getAutoLogo:function(t){var e=t.detail.value;this.setData({autoLogo:e}),this.data.logoAutoGenerating&&this.setData({logo:e})},hideCNList:function(){this.setData({companyListShow:!1})},simulateBlur:function(){},selectCN:function(t){var e=t.currentTarget.dataset.cn;this.setData({companyname:e,companyListShow:!1,companyList:[],"form.companyname":e}),this.tryGetTel(e)},formSubmit:function(t){var e=this.data.form,a=t.currentTarget.dataset.trial;(0,o.validateForm)(e)&&(e.trial=+a,this.triggerEvent("submit",{value:e}))},collectinfo:function(){var t=this.data,e=t.version,a=t.logo,o=t.companyname,n=t.tel;wx.navigateTo({url:"/pages/site-create/collectinfo/collectinfo?version="+e+"&logo="+a+"&companyname="+o+"&tel="+n})},viewClause:function(t){var e=t.currentTarget.dataset.type;wx.navigateTo({url:"/pages/site-create/selectversion/clause/clause?type="+e})},searchCN:function(t){var a=this;this.setData({searchingCN:t}),t?n.default.v4.receipt.searchsuggest({data:{keyword:t}}).then(function(o){var n=o.lists;a.data.searchingCN===t&&a.setData({companyListShow:!0,companyList:e(t,n)})}):this.setData({companyList:[]})},tryGetTel:function(t){var e=this;t&&n.default.v4.receipt.getcompanytaxnumber({data:{keyword:t}}).then(function(t){var a=t.lists.mobile;a&&e.setData({tel:a,"form.tel":a})})}}}); 
 			}); 	require("components/site-basic-settings/site-basic-settings.js");
 		__wxRoute = 'components/site-deleted-tip/site-deleted-tip';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/site-deleted-tip/site-deleted-tip.js';	define("components/site-deleted-tip/site-deleted-tip.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Component({properties:{app:{type:String,value:"site",observer:function(e){this.setData({app:e})}}},data:{app:""},methods:{returnSiteIndex:function(){wx.switchTab({url:"/pages/index/index"})}}}); 
 			}); 	require("components/site-deleted-tip/site-deleted-tip.js");
 		__wxRoute = 'components/tabbar/tabbar';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/tabbar/tabbar.js';	define("components/tabbar/tabbar.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";var t=function(t){return t&&t.__esModule?t:{default:t}}(require("../../utils/api2")),e=require("../../utils/style-utils"),s=void 0,a=void 0;Component({properties:{sidebarReady:{type:Boolean,observer:function(t){t&&this.tryInit()}},mode:{type:String,observer:function(t){this.setData({show:"edit"!==t})}},isListSetting:{type:Boolean,observer:function(t){this.setData({show:!t})}}},data:{sid:"",show:!0,tabList:[],mobile:"",address:"",latitude:"",longitude:"",isfocus:!1,isTabListEmpty:!1,isTabListLoading:!0},ready:function(){var e=this,i=getCurrentPages(),n=getApp().globalData.sid;s=i[i.length-1],a=[],t.default.site.tab.lists({data:{sid:s.__query.sid||n}}).then(function(t){a=t.sort(function(t,e){return t.sort-e.sort}),e.tryInit()})},methods:{tryInit:function(){var t=this;if(a=a||[],this.setData({isTabListEmpty:0===a.length}),a.length&&this.data.sidebarReady){var i=s.data.sidebar,n=i.site,r=i.navs;a.forEach(function(e){switch(e.type){case"nav":var a=r.find(function(t){return e.navid===+t.navid});if(a){e.url=a.navUrl;var i=s.__query.navid;e.active=i?e.navid===+i:-1!==e.url.search(s.route)}break;case"mobile":t.setData({mobile:n.tel});break;case"map":t.setData({address:n.address,latitude:n.addresslat,longitude:n.addresslng});break;case"members":e.url="/pages/profile-entry/members/members?sid="+n.sid,e.active="pages/profile-entry/members/members"===s.route;break;case"cart":e.url="/pages/common/shopping-cart/shopping-cart?origin=tab&sid="+n.sid+"&app="+n.app+"&mchid="+n.mchid,e.active="pages/common/shopping-cart/shopping-cart"===s.route;break;case"focus":t.setData({sid:n.sid,isfocus:n.isfocus}),e.active=n.isfocus;break;case"payment":e.url="/pages/common/payment/payment?sid="+n.sid,e.active="pages/common/payment/payment"===s.route;break;case"classify":e.url="/pages/common/classify/view/view?sid="+n.sid+"&title="+e.title,e.active="pages/common/classify/view/view"===s.route}}),this.setData(Object.assign({tabList:a,isTabListLoading:!1},(0,e.formatTabColor)(n.style.tab))),s.setData({isInitTabList:a.length>0})}},informNotExist:function(e){var a=this,i=e.currentTarget.dataset.id;("isedit"in this.data?Promise.resolve(this.data.isedit):t.default.site.site.view({data:{sid:s.__query.sid}}).then(function(t){var e=t.isedit;return a.setData({isedit:e}),e})).then(function(t){t?wx.showModal({title:"链接已失效",content:"栏目已被删除，请前往Tab设置重新设置链接",success:function(t){t.confirm&&wx.redirectTo({url:"/pages/website/settings/tab-config/tab-config?sid="+s.__query.sid+"&id="+i})}}):wx.showModal({title:"链接失效",content:"该栏目已被删除",showCancel:!1})})},makeCall:function(){wx.makePhoneCall({phoneNumber:this.data.mobile})},map:function(){var t=this.data,e=t.address,s=t.latitude,a=t.longitude;wx.openLocation({address:e,latitude:s,longitude:a})},setFocus:function(e){var s=this,a=this.data,i=a.tabList,n=a.isfocus,r=a.sid,o=e.currentTarget.dataset.index,d=i[o],c=n?"cancel":"add";t.default.site.focus.set({data:{sid:r,op:c},desc:"关注操作"}).then(function(){d.active=!n,s.setData({tabList:i,isfocus:!n})})},goto:function(t){wx.redirectTo({url:t.currentTarget.dataset.url})}}}); 
 			}); 	require("components/tabbar/tabbar.js");
 		__wxRoute = 'components/top-notice/top-notice';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/top-notice/top-notice.js';	define("components/top-notice/top-notice.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function t(t){return t&&t.__esModule?t:{default:t}}var e=t(require("../../utils/api2")),n=t(require("../../public/utils/event-emitter")),s=n.default.emit,i=n.default.addListener,o={data:null,pull:function(){var t=this;e.default.site.message.notifylists().then(function(e){e.isfollow;var n=e.lists;t.data=n.map(function(t){return t.type="normal",t.contents=[],t.content.split(t.name).forEach(function(e){t.contents.push(e,t.name)}),t.contents.pop(),t})}).then(function(){return s("sync.notices")})}};Component({data:{show:!1,notices:[]},ready:function(){var t=this;i("sync.notices",function(){var e=o.data;e?t.setData({show:!(!e||!e[0]),notices:e}):o.pull()}),s("sync.notices");var e=getCurrentPages(),n=e[e.length-1],a=n.onPullDownRefresh;n.onPullDownRefresh=function(){o.pull(),a()}},methods:{closeNotice:function(){var t=o.data.shift().mid;t&&e.default.site.message.view({data:{mid:t}}),s("sync.notices")}}}); 
 			}); 	require("components/top-notice/top-notice.js");
 		__wxRoute = 'components/version-info/version-info';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/version-info/version-info.js';	define("components/version-info/version-info.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";var e=function(e){return e&&e.__esModule?e:{default:e}}(require("../../utils/util")),t=getApp();Component({properties:{app:{type:String,value:"site",observer:function(e){this.setData({app:e})}}},data:{app:"",currVersion:{},isread:0,isshown:!1},ready:function(){var s=this;wx.getStorage({key:"isReadInit",success:function(e){var t=e.data,s=t.version,i=t.isread;console.log("当前版本"+s,"是否已读"+i)},fail:function(i){var a=t.globalData.version;e.default.getVersionIsReadStatus(a).then(function(t){var i=t.isread;i||e.default.loadVserionHistory().then(function(e){s.setData({currVersion:e.history[0],isshown:!0,isread:i})}),wx.setStorageSync("isReadInit",{version:a,isread:i})})}})},methods:{colseDialog:function(){this.setData({isshown:!1})}}}); 
 			}); 	require("components/version-info/version-info.js");
 		__wxRoute = 'components/we-cropper/we-cropper';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/we-cropper/we-cropper.js';	define("components/we-cropper/we-cropper.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function t(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var e=function(t){return t&&t.__esModule?t:{default:t}}(require("./we-cropper/we-cropper.js"));Component({properties:{src:{type:String,value:"",observer:function(t,e){t&&(this.wecropper.pushOrign(t),this.show(!0))}},height:{type:Number,observer:function(t,e){this.setData({height:t})}}},data:{show:!1,isValid:!1,cropperOpt:{id:"cropper",width:0,height:0,scale:2.5,zoom:8,cut:{x:0,y:0,width:0,height:0}}},ready:function(o){var r,i=this.data.height,c=wx.getSystemInfoSync(),n=c.windowWidth,h=c.windowHeight,s=Math.floor(.96*c.windowWidth),p=Math.floor(i/2)||s,a=Math.floor(100/750*c.windowWidth);this.setData((r={},t(r,"cropperOpt.width",n),t(r,"cropperOpt.height",h-a),t(r,"cropperOpt.cut.x",(n-s)/2),t(r,"cropperOpt.cut.y",(h-p-a)/2),t(r,"cropperOpt.cut.width",s),t(r,"cropperOpt.cut.height",Math.floor(i/2)||p),r),function(){var t=this,o=this.data.cropperOpt;this.wecropper=new e.default(o,this).on("ready",function(e){console.log("wecropper is ready for work!"),t.setData({isValid:!0})})})},methods:{show:function(t){this.setData({show:t})},touchStart:function(t){this.wecropper.touchStart(t)},touchMove:function(t){this.wecropper.touchMove(t)},touchEnd:function(t){this.wecropper.touchEnd(t)},cancel:function(t){this.setData({show:!1})},canvasError:function(t){console.log("canvas error: "+t.detail.errMsg),this.show(!1)},sure:function(t){var e=this;this.data.isValid&&this.wecropper.getCropperImage({quality:10},function(t){t?(e.triggerEvent("crop",{src:t}),e.show(!1)):wx.showModal({title:"裁剪",content:"裁剪失败，请稍后重试",success:function(t){t.confirm;t.cancel&&e.show(!1)}})})}}}); 
 			}); 	require("components/we-cropper/we-cropper.js");
 		__wxRoute = 'components/withinmsg/withinmsg';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'components/withinmsg/withinmsg.js';	define("components/withinmsg/withinmsg.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function t(t){return t&&t.__esModule?t:{default:t}}var i=t(require("../../utils/api2")),e=t(require("../../public/utils/api")),a=getApp();Component({properties:{isShown:{type:Boolean,value:!0,observer:function(t){this.setData({isShown:t})}},styleConfig:{type:Object,observer:function(t){var i=this.__formateClass(t);this.setData({className:i})}},site:{type:Object,observer:function(t){this.setData({site:t});var i=t.sid;i&&this.initRadarIM(i)}}},data:{isShown:!0,className:""},methods:{triggerLogin:function(t){var i=getCurrentPages();i[i.length-1].setData({isLoginModalShown:!0})},initRadarIM:function(t){var i=this;a.globalData.tokens.accesstoken&&wx.getStorage({key:"viewSiteList",success:function(e){var a=e.data;a.includes(t)||i.getIsFirstView(t).then(function(t){a.push(t),wx.setStorageSync("viewSiteList",a)})},fail:function(){i.getIsFirstView(t).then(function(t){var i=[];i.push(t),wx.setStorageSync("viewSiteList",i)})}})},getIsFirstView:function(t){var e=this;return new Promise(function(s,n){i.default.site.site.getisfirstviewsite({data:{sid:t}}).then(function(i){if(i.isfirst){var n=a.globalData.tokens.uid;e.setData({uid:n}),e.creatChat(+n)}s(t)})})},creatChat:function(t){var i=this,a=this.data.site.uid,s=this.data.site.server.uid,n=s||a;+t!==(+s||+a)&&e.default.chat.chat.create({data:{touid:t,uid:n}}).then(function(t){var e=t.data,a=e.chatid;e.count;i.sendMsg(a,n)})},sendMsg:function(t,e){var s=this,n=this.data.site,o=n.name,r=n.server.speech,u=a.globalData.tokens.uid;i.default.chat.message.send({data:{chatid:t,uid:e,touid:+u,app:"site",content:{type:1,content:r||"欢迎访问"+o},issetnotread:0}}).then(function(i){s.exitChatRoom(t),console.log(i)})},exitChatRoom:function(t){i.default.chat.chat.exitchat({data:{chatid:t}}).then(function(t){console.log(t,"退出成功")})},__formateClass:function(t){var i=t.app,e=t.isEditable,a=t.isInitTabList,s="";return"site"!==i&&"thirdparty"!==i||(s="site"===i?e?a?"withinmsg-box--all":"withinmsg-box--withoutTab":a?"withinmsg-box--withoutEdit":"withinmsg-box--withoutAll":"withinmsg-box--withoutTab"),s}}}); 
 			}); 	require("components/withinmsg/withinmsg.js");
 		__wxRoute = 'public/components/card-create-form/card-create-form';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'public/components/card-create-form/card-create-form.js';	define("public/components/card-create-form/card-create-form.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(e[i]=a[i])}return e},a=require("./variables");Component({options:{multipleSlots:!0},properties:{appName:{type:String,value:"card"},remarkHint:{type:String,value:"让你的微信好友更了解你"},type:{type:String,value:a.TYPES.NORMAL_VERIFY},data:{type:Object,value:{},observer:function(e,a){this.setData({form:t({},this.data.form,e)})}},fields:{type:Array,value:[["user"],["corpname","position","email"],["remark"]]},validFilds:{type:Array,value:[{keys:"realname",tip:"请输入名字"},{keys:"corpname",tip:"请输入公司"},{keys:"position",tip:"请输入职务"}]},searchOrient:{type:String,value:a.ORIENT.BOTTOM},isVerifyCode:{type:Boolean,value:!0},isShownSendBtn:{type:Boolean,value:!0}},data:{TYPES:a.TYPES,form:{}},ready:function(){this.mobile=this.selectComponent("#mobile")},methods:{selectAvatar:function(){var e=this;wx.chooseImage({count:1,sizeType:["compressed"],success:function(t){var a=t.tempFilePaths[0];e.setData({"form.avatar":a}),e.$emit("input",{name:"avatar",value:a})}})},onInput:function(t){var a=t.detail,i=a.name,n=a.value;this.setData(e({},"form."+i,n)),this.$emit("input",{name:i,value:n})},onTextareaInput:function(e){var t=e.currentTarget.dataset.name,a=e.detail.value;this.onInput({detail:{name:t,value:a}})},onFocusTextarea:function(){var e=this;this.setData({textareaShown:!0}),setTimeout(function(){e.setData({textareaFocus:!0})},200)},onBlurTextarea:function(){this.setData({textareaShown:!1,textareaFocus:!1})},onSelect:function(t){var a=t.detail,i=a.name,n=a.value;this.setData(e({},"form."+i,n)),this.$emit("input",{name:i,value:n})},valideForm:function(e){return this.data.validFilds.filter(function(t){return!e[""+t.keys]}).map(function(e){return e.tip})[0]},getFormData:function(){var e=this.data.form,t=this.mobile.getFormData();if(t){Object.assign(e,t);var a=this.valideForm(e);return a?this.$emit("fail",{value:a}):e}},onSearchOrient:function(t){var i=this,n=t.detail.name,o=this.data.searchOrient===a.ORIENT.BOTTOM;o&&wx.pageScrollTo({scrollTop:0,duration:0});var r=this.createSelectorQuery();r.select("#"+n).boundingClientRect(),r.selectViewport().scrollOffset(),r.exec(function(t){var a=t[0].top,r=void 0;r=o?"top: "+(a+44)+"px; bottom: 0":"bottom: "+(wx.getSystemInfoSync().windowHeight-a-1)+"px; top: 0;",i.setData(e({},"searchList."+n,r))})},onMobileFail:function(e){var t=e.detail.value;this.$emit("fail",{value:t})},onMobileInput:function(e){var t=e.detail,a=t.name,i=t.value;this.$emit("input",{name:a,value:i})},onMobileClear:function(e){var t=e.detail.name;this.$emit("clear",{name:t})},changeMobile:function(){wx.navigateTo({url:"/pages/changemobile/changemobile?mode=changeMobile"})},$emit:function(e,t){this.triggerEvent(e,t,{})}}}); 
 			}); 	require("public/components/card-create-form/card-create-form.js");
 		__wxRoute = 'public/components/card-scanner-form/card-scanner-form';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'public/components/card-scanner-form/card-scanner-form.js';	define("public/components/card-scanner-form/card-scanner-form.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";var e=function(e){return e&&e.__esModule?e:{default:e}}(require("../..//utils/toptip.js")),t=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t.default=e,t}(require("./card-scanner")),a=["name","tel_cell","company","title","email"],i={addr:"地址",company:"公司",department:"部门",tel_work:"电话",tel_cell:"手机",title:"职务",email:"邮箱"};Component({data:{form:{isclaim:0},remarkHint:"请输入更多名片信息",searchListDisplay:4},ready:function(){this.createForm=this.selectComponent("#createForm")},methods:{setScanForm:function(e){this.loadRecognizeCard(e.data)},recognizeCardView:function(e){this.triggerEvent("file",{value:e},{}),t.ocr(e).then(this.loadRecognizeCard.bind(this))},loadRecognizeCard:function(e){var t=e.name,a=e.tel_cell,i=e.company,n=e.title,r=e.email,o=a[0]?a[0].replace(/^\+?86/,""):"";this.setData({form:{realname:t[0],mobile:o,corpname:i[0],position:n[0],email:r[0],remark:this.fillRemark(e)}}),this.triggerEvent("input",{name:"mobile",value:o},{}),wx.hideLoading()},fillRemark:function(e){var t=[];return Object.keys(e).forEach(function(n){var r=e[n];if(Array.isArray(r)){var o=(a.includes(n)?r.slice(1):r).join(", ");o&&t.push(i[n]+": "+o)}}),t.join("\n")},onInput:function(e){this.triggerEvent("input",e.detail,{})},onFail:function(t){var a=t.detail.value;e.default.show(this,a)},submit:function(e){var t=this;this.createForm.getFormData()&&wx.downloadFile({url:"https://img.ibos.cn/common/default_avatar.png",complete:function(e){t.trigger("submit",t.getConf(e.tempFilePath))}})},getConf:function(e){var t={},a=this.data.form;return e?Object.assign(t,{formData:a,filePath:e,name:"avatar"}):(a.avatar="https://img.ibos.cn/common/default_avatar.png",t.data=a),t},takeShot:function(){var e=this;wx.showActionSheet({itemList:["拍照识别","从相册中选择"],success:function(t){var a=t.tapIndex;0===a?wx.canIUse&&wx.canIUse("camera")?wx.redirectTo({url:"/public/pages/card-scanner/card-scanner"}):e.chooseImage("camera"):1===a&&e.chooseImage("album")}})},chooseImage:function(e){t.chooseImage(e).then(this.recognizeCardView.bind(this))}}}); 
 			}); 	require("public/components/card-scanner-form/card-scanner-form.js");
 		__wxRoute = 'public/components/card-scanner/card-scanner';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'public/components/card-scanner/card-scanner.js';	define("public/components/card-scanner/card-scanner.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";var e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(require("../card-scanner-form/card-scanner"));Component({properties:{file:{type:String,value:""},loading:{type:Boolean,value:!1}},methods:{onChooseAlbum:function(){var t=this;e.chooseImage("album").then(function(e){t.triggerEvent("onsuccess",{file:e})})},onTakePhoto:function(){var e=this;wx.createCameraContext().takePhoto({quality:"high",success:function(t){var n=t.tempImagePath;e.triggerEvent("onsuccess",{file:n})}})},onCancel:function(){wx.navigateBack({delta:1})},onError:function(){var e=this;wx.showModal({title:"相机授权失败",content:"小程序正常运行需要获得相机功能。请在发现-小程序，删除本小程序后，再次打开，会重新提示微信授信，点“允许”，即可正常使用相机功能...",showCancel:!1,success:function(){return e.triggerEvent("onfail",{})}})}}}); 
 			}); 	require("public/components/card-scanner/card-scanner.js");
 		__wxRoute = 'public/components/input-blocker/input-blocker';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'public/components/input-blocker/input-blocker.js';	define("public/components/input-blocker/input-blocker.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Component({properties:{placeholder:String,placeholderStyle:String,inputStyle:String,cursorSpacing:{type:String,value:"0"},confirmType:{type:String,value:"done"},confirmHold:{type:Boolean,value:!1},name:{type:String,value:"value"},disabled:{type:Boolean,value:!1},autoFocus:{type:Boolean,value:!1},type:{type:String,value:"text"},maxLength:{type:Number,value:-1},value:{type:String,value:"",observer:function(t){this.setData({content:t})}}},data:{content:"",showClear:!1},methods:{onInput:function(t){var e=t.detail.value;this.setData({content:e}),this.onFocus(),this.$emit("input")},onClear:function(){this.setData({content:""}),this.onFocus(),this.$emit("input")},onFocus:function(){var t=this.data.content;this.setData({showClear:!!t})},onBlur:function(){this.setData({showClear:!1})},onConfirm:function(){this.$emit("confirm")},$emit:function(t){var e=this.data,n=e.content,a=e.name;this.triggerEvent(t,{name:a,value:n},{})}}}); 
 			}); 	require("public/components/input-blocker/input-blocker.js");
 		__wxRoute = 'public/components/mobile-verify/mobile-verify';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'public/components/mobile-verify/mobile-verify.js';	define("public/components/mobile-verify/mobile-verify.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var t=function(e){return e&&e.__esModule?e:{default:e}}(require("../../utils/util")),o=require("./mobile-util"),n={DEFAULT:0,VERIFY_SUCCESS:1,VERIFY_FAIL:2},a=0,i=!0;Component({options:{multipleSlots:!0},properties:{enabledLabel:{type:Boolean,value:!0},appName:{type:String,value:"site"},mobile:{type:String,value:"",observer:function(e,t){var o={};i&&(o={enabledMobileGet:!1,customButton:!0,mobileVerifyState:n.VERIFY_SUCCESS}),o["form.mobile"]=e,this.setData(o),this.updateEnabledSendCode()}},codeLen:{type:String,value:4},customButton:{type:Boolean,value:!1},isVerifyCode:{type:Boolean,value:!0},enabledMobileGet:{type:Boolean,value:!0},isShownSendBtn:{type:Boolean,value:!0}},data:{form:{mobile:"",code:""},mobileVerifyStatus:n,mobileVerifyState:n.DEFAULT,enabledSendCode:!1,sendCodeButtonText:"验证手机",showVcodeInput:!1},ready:function(){i=!1},detached:function(){i=!0,clearInterval(this.timer),clearInterval(this.countTimer)},methods:{onInput:function(t){var o=t.detail,n=o.name,a=o.value;a=a.trim(),this.setData(e({},"form."+n,a)),"mobile"===n&&this.updateEnabledSendCode(),this.$emit("input",{name:n,value:a})},sendCode:function(){var e=this,t=this.data.form.mobile,n=this.startCountdown();(0,o.sendMobileCode)(t).then(function(){e.setData({showVcodeInput:!0,isVerifyCode:!0})}).catch(function(){n(),e.updateSendCodeStatusByCountDown(),e.$emit("fail",{value:"短信发送失败，请重试"})})},updateEnabledSendCode:function(){var e=this.data.form,o=e.fastverify,n=e.mobile;this.setData({enabledSendCode:!o&&(t.default.isMobile(n)&&0===a)})},updateSendCodeStatusByCountDown:function(){var e=0===a?"重新验证":a+"S";this.setData({sendCodeButtonText:e}),0!==a&&60!==a||this.updateEnabledSendCode()},startCountdown:function(){var e=this,t=void 0;return a=60,this.updateSendCodeStatusByCountDown(),t=this.countTimer=setInterval(function(){a--,e.updateSendCodeStatusByCountDown(),0===a&&clearInterval(t)},1e3),function(){a=0,clearInterval(t)}},bindMobileGet:function(e){var t=this;(0,o.resolverWxMobile)(e.detail,this.data.appName||"site").then(function(e){var o=e.data.phoneNumber;t.setData({enabledMobileGet:!1,"form.mobile":o,"form.fastverify":1,sendCodeButtonText:"验证成功",mobileVerifyState:n.VERIFY_SUCCESS}),t.$emit("input",{name:"mobile",value:o})},function(){t.$emit("fail",{value:"快速获取失败，请手动输入"}),t.setData({enabledMobileGet:!1,showVcodeInput:t.data.isVerifyCode})})},verifyForm:function(){var e,o=this.data,n=o.form,a=o.showVcodeInput,i=o.codeLen;if(!n.fastverify)return n.mobile?t.default.isMobile(n.mobile)?a&&(e=n.code?n.code.length===i?"":"请输入正确的验证码":"请输入验证码"):e="手机号格式不正确":e="请输入手机号",e},getFormData:function(){var e=this.verifyForm();return e?this.$emit("fail",{value:e}):this.data.form},$emit:function(e,t){this.triggerEvent(e,t,{})}}}); 
 			}); 	require("public/components/mobile-verify/mobile-verify.js");
 		__wxRoute = 'public/components/quick-create-card/quick-create-card';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'public/components/quick-create-card/quick-create-card.js';	define("public/components/quick-create-card/quick-create-card.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function t(t){return t&&t.__esModule?t:{default:t}}var e=t(require("../../utils/user")),a=t(require("../../utils/util"));Component({properties:{appName:{type:String,value:"card"},title:{type:String,value:"创建名片"},confirmText:{type:String,value:"完成"},form:{type:Object,value:{}},fields:{type:Array,value:[["user","corpname","position"]]},validFilds:Array},data:{submitDisabled:!0,shown:!1},ready:function(){var t=this;if(this.createForm=this.selectComponent("#create-form"),!this.data.form.realname){var i=function(e){var i=e.avatar,r=e.realname;t.setData({"form.avatar":i,"form.realname":a.default.sliceByByte(a.default.filterEmoji(r),8)})};e.default.getTokensSync().realname?i(e.default.getTokensSync()):e.default.listenToken(i)}},methods:{onConfirm:function(t){var e=this.data.form;Object.assign(e,this.createForm.getFormData()),this.triggerEvent("submit",e,{})},onInput:function(){this.checkSubmitState()},onClear:function(){this.checkSubmitState()},checkSubmitState:function(){var t=this.createForm.getFormData();this.setData({submitDisabled:!t})},onCancel:function(){this.setData({shown:!1})},onShow:function(){this.setData({shown:!0})}}}); 
 			}); 	require("public/components/quick-create-card/quick-create-card.js");
 		__wxRoute = 'public/components/radar-modules/chatlist/chatlist';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'public/components/radar-modules/chatlist/chatlist.js';	define("public/components/radar-modules/chatlist/chatlist.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function t(t){return t&&t.__esModule?t:{default:t}}function e(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return Array.from(t)}var i=function(){function t(t,e){var i=[],a=!0,n=!1,s=void 0;try{for(var r,o=t[Symbol.iterator]();!(a=(r=o.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){n=!0,s=t}finally{try{!a&&o.return&&o.return()}finally{if(n)throw s}}return i}return function(e,i){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},n=t(require("../../../utils/api")),s=t(require("../../../utils/event-emitter")),r=t(require("../../../utils/util"));Component({properties:{app:{type:String,value:"card"},card:Object,origin:Object,switchPostion:{type:Boolean,value:!0},reserved:Number,positionStyle:String},data:{chatLists:[]},ready:function(){var t=this,i=getApp().globalData.radarCount;this.setData({count:i>99?"99+":i}),this.$events=[["radar.message.socket",this.handleSocket.bind(this)],["chat.sendmsg",this.chatRoomSyn.bind(this)],["chat.empty.reads",this.emptyChatReads.bind(this)],["radar.unreads.change",function(e){var i=e.count;return t.setData({count:i})}]],this.$events.forEach(function(t){return s.default.addListener.apply(s.default,e(t))})},detached:function(){this.$events.forEach(function(t){return s.default.removeListener.apply(s.default,e(t))}),this.getUnreadsList&&clearTimeout(this.getUnreadsList),this.resetPositionUnread&&clearTimeout(this.resetPositionUnread),this.isClickPostion&&clearTimeout(this.isClickPostion)},methods:{unreadsDistancesGroup:[],takeTurnsIndex:0,nowScrollTop:0,allUnreads:0,onPullDownRefresh:function(){this.getLists(!0)},onReachBottom:function(){this.data.noMore||this.clickPostion||(this.setData({loadingMore:!0}),this.getLists(!1))},onPageScroll:function(t){!this.clickPostion&&this.data.switchPostion&&(this.nowScrollTop=t||0)},getLists:function(t,e){var i=this,a=void 0;if(t)this.data.chatLists=[],a=parseInt(Date.now()/1e3,0)+1e3;else{var s=this.data.chatLists;a=s[s.length-1].updatetime}n.default.chat.chat.chatlists({data:{timestamp:a,limit:50},complete:function(){wx.stopPullDownRefresh(),i.setData({loadingMore:!1})}}).then(function(t){var a=t.data.lists;return i.handleLists(a,e)})},handleLists:function(t,e){t.forEach(function(t){t.time=r.default.formatTimeStamp(t.updatetime)});var i=this.data.chatLists.concat(t);this.setData({chatLists:i,noMore:t.length<50}),t.length&&this.resetPositionUnreads(e)},handleSocket:function(t){if(1!=+t.issystem){var e=this.data.chatLists;t.updatetime=t.createtime,t.time="刚刚";var i=e.findIndex(function(e){return+e.chatid==+t.chatid});i>-1?(t.unreads=e[i].unreads+1,e.splice(i,1)):t.unreads=1,e.unshift(t),this.setData({chatLists:e}),this.resetPositionUnreads()}},chatRoomSyn:function(t){var e=this.data,i=e.chatLists,n=e.origin,s=a({},t),r=i.findIndex(function(e){return+t.chatid==+e.chatid});r>-1?((s=i.splice(r,1)[0]).content=t.content,s.updatetime=t.updatetime,s.time="刚刚"):(s.uid=n.uid,s.avatar=n.avatar,s.realname=n.name),i.unshift(s),this.setData({chatLists:i}),this.resetPositionUnreads()},emptyChatReads:function(t){var e=this.data.chatLists,i=e.find(function(e){return+t==+e.chatid});i&&i.unreads&&(i.unreads=0,this.setData({chatLists:e}),this.resetPositionUnreads())},goChat:function(t){var e=t.currentTarget.dataset,i=e.name,a=e.uid,n=e.unreads,s=e.chatid,r=this.data.card,o=r?r.cardid:"";wx.navigateTo({url:"/publicPackage/salesradar/minichat/minichat?name="+i+"&chatid="+s+"&touid="+a+"&num="+n+"&cardid="+o+"&app="+this.data.app})},collectFormId:function(t){var e=t.detail.formId,i=getApp().globalData,a=i.appid,s=i.app;n.default.weapp.collectformid({data:{formid:e,app:s||this.data.app,appid:a}})},resetPositionUnreads:function(t){var e=this;this.data.switchPostion&&(this.unreadsDistancesGroup=[],this.takeTurnsIndex=0,clearTimeout(this.resetPositionUnread),this.resetPositionUnread=setTimeout(function(){e.calcPositionDistance(!0).then(function(){t&&e.positionUnreads()})},200))},loadNewChatlistPostion:function(){var t=this;return!(this.data.count>this.allUnreads)||(console.info("未读消息未加载"),clearTimeout(this.getUnreadsList),this.getUnreadsList=setTimeout(function(){t.getLists(!1,!0)},200),!1)},positionUnreads:function(){var t=this.unreadsDistancesGroup;this.loadNewChatlistPostion()&&(console.log(t),(t.length?Promise.resolve(t):this.calcPositionDistance()).then(this.movePostion.bind(this)))},movePostion:function(t){var e=this.nowScrollTop||0,i=this.takeTurnsIndex;if(this.clickPostion=!0,e){var a=t.map(function(t){return Math.abs(t-e)});i=a.indexOf(Math.min.apply(null,a)),this.nowScrollTop=0,this.takeTurnsIndex=i}wx.pageScrollTo({scrollTop:t[i],duration:200}),this.resetPageScrollStatus(),t.length===i+1?this.takeTurnsIndex=0:this.takeTurnsIndex+=1},resetPageScrollStatus:function(){var t=this;clearTimeout(this.isClickPostion),this.isClickPostion=setTimeout(function(){t.clickPostion=!1},300)},calcPositionDistance:function(t){var e=this;t&&this.getNowViewport();var i=0,a=this.data.chatLists.filter(function(t){return i+=t.unreads,t.unreads}).map(function(t){return t.chatid}).map(function(t){return e.getNodeScroll(t)}),n=this.data.reserved||0;return this.allUnreads=i,Promise.all(a).then(function(i){return n&&(i=i.map(function(t){return t-n})),t&&(i=i.map(function(t){return t+(e.lastScrollTop||0)})),e.unreadsDistancesGroup=i,i})},getNowViewport:function(){var t=this;wx.createSelectorQuery().selectViewport().scrollOffset(function(e){var i=e.scrollTop;t.lastScrollTop=i}).exec()},getNodeScroll:function(t){var e=this;return new Promise(function(a){var n=wx.createSelectorQuery().in(e);n.select("#chatid"+t).boundingClientRect(),n.selectViewport().scrollOffset(),n.exec(function(t){var e=i(t,1)[0].top;return a(e)})})}}}); 
 			}); 	require("public/components/radar-modules/chatlist/chatlist.js");
 		__wxRoute = 'public/components/radarToptips/toptips';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'public/components/radarToptips/toptips.js';	define("public/components/radarToptips/toptips.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";var t=function(t){return t&&t.__esModule?t:{default:t}}(require("../../utils/event-emitter")),e={CHAT:"chat",CHATING:"chating"},a=!1;Component({properties:{control:{type:Boolean,value:!1,observer:"_topTipAnimate"},duration:{type:Number,value:2e3},content:Object,tipType:{type:String,value:""},chatid:String,origin:String},ready:function(){t.default.addListener("radar.message.socket",this.event)},detached:function(){t.default.removeListener("radar.message.socket",this.event)},methods:{_topTipAnimate:function(t){var e=this;t&&setTimeout(function(){e.setData({control:!t})},this.data.duration)},_onTap:function(){switch(this.data.tipType){case e.CHAT:wx.navigateTo({url:"/publicPackage/salesradar/withinmsg/withinmsg"});break;case e.CHATING:wx.navigateBack({delta:1})}},marketRadarChat:function(t){var e=t.issystem,i=(t.avatar,t.content.content,t.chatid);+e||this.data.chatid&&this.data.chatid===i||a||(a=!0,wx.showModal({content:"你有新的未读消息",confirmText:"去看看",success:function(t){t.confirm&&wx.navigateTo({url:"/publicPackage/salesradar/withinmsg/withinmsg"})},complete:function(){return a=!1}}))}}}); 
 			}); 	require("public/components/radarToptips/toptips.js");
 		__wxRoute = 'public/components/search-list/search-list';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'public/components/search-list/search-list.js';	define("public/components/search-list/search-list.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function t(t){return t&&t.__esModule?t:{default:t}}function e(t,e){return e.map(function(e){return{text:e,lists:e.split(t).reduce(function(e,r){return e.concat([{type:1,text:r},{type:0,text:t}])},[]).slice(0,-1)}})}var r=function(){function t(t,e){var r=[],a=!0,i=!1,n=void 0;try{for(var s,o=t[Symbol.iterator]();!(a=(s=o.next()).done)&&(r.push(s.value),!e||r.length!==e);a=!0);}catch(t){i=!0,n=t}finally{try{!a&&o.return&&o.return()}finally{if(i)throw n}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=t(require("../../utils/api")),i=t(require("../../utils/api-code")),n=require("./cache"),s=["qq.com","gmail.com","126.com","163.com","hotmail.com"],o={corpname:{api:a.default.receipt.searchsuggest},position:{api:a.default.weappcard.searchposition},email:{api:function(t){var e=t.keyword.split("@"),a=r(e,2),n=a[0],o=a[1],u=void 0===o?"":o,c=s.filter(function(t){return t.includes(u)}).map(function(t){return n+"@"+t});return Promise.resolve({code:i.default.SUCCESS,data:{lists:c}})}}};Component({properties:{value:{type:String,value:"",observer:"_valueChange"},maxNum:{type:Number,value:4},mask:{type:Boolean,value:!0},markstyle:String,name:String,direction:{type:String,value:"bottom"}},data:{searchList:[],first:!0},ready:function(){n.cache[this.data.name]=this},methods:{onSelect:function(t){var e=t.currentTarget.dataset.index;this.data.first=!0;var r=this.data,a=r.name,i=r.searchList;this.triggerEvent("select",{name:a,value:i[e].text},{}),this.onHide()},onHide:function(){this.setData({searchList:[]})},clearOtherList:function(){var t=this.data.name;Object.keys(n.cache).filter(function(e){return e!==t}).filter(function(t){return n.cache[t]}).forEach(function(t){var e=n.cache[t];e&&e.data&&e.data.searchList.length&&e.setData({searchList:[]})})},_valueChange:function(t,e){var r=this.data,a=r.first,i=r.name;return a&&t?this.data.first=!1:(this.data.first=!1,t?(this.clearOtherList(),void this.request(t,e,i)):this.onHide())},request:function(t,r,a){var n=this,s=o[a];t!==r&&s&&(clearTimeout(this.timer),this.triggerEvent("show",{name:a}),this.timer=setTimeout(function(){s.api({keyword:t}).then(function(r){r.code===i.default.SUCCESS&&t===n.data.value&&n.setData({searchList:e(t,r.data.lists)})})},500))}}}); 
 			}); 	require("public/components/search-list/search-list.js");
 		__wxRoute = 'public/components/service/service';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'public/components/service/service.js';	define("public/components/service/service.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Component({properties:{fixed:{type:Boolean,value:!1},linkCard:{type:Boolean,value:!1}}}); 
 			}); 	require("public/components/service/service.js");
 		__wxRoute = 'public/components/set-response/set-response';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'public/components/set-response/set-response.js';	define("public/components/set-response/set-response.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";Component({properties:{notNav:Boolean}}); 
 			}); 	require("public/components/set-response/set-response.js");
 		__wxRoute = 'public/components/signin-modal/signin-modal';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'public/components/signin-modal/signin-modal.js';	define("public/components/signin-modal/signin-modal.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";var t=require("./signin-util"),e=function(t){return t&&t.__esModule?t:{default:t}}(require("../../../utils/config"));Component({properties:{showCancel:{type:Boolean,value:!0}},data:{shown:!1,appName:e.default.appName},methods:{_signIn:function(e){var n=this;(0,t.registerToken)(e).then(this._success.bind(this)).catch(function(){return n.show()})},_success:function(){wx.showToast({title:"登录成功",duration:500}),this.hide()},_onClose:function(){this.setData({shown:!1})},show:function(){this.setData({shown:!0})},hide:function(){this._onClose()}}}); 
 			}); 	require("public/components/signin-modal/signin-modal.js");
 		__wxRoute = 'public/components/withinmsg/withinmsg';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'public/components/withinmsg/withinmsg.js';	define("public/components/withinmsg/withinmsg.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function t(t){return t&&t.__esModule?t:{default:t}}var a=t(require("../../utils/api")),e=t(require("../../utils/user")),n=t(require("../../utils/event-emitter")),i=getApp(),r=[{top:-2,right:-5},{top:-5,right:-8},{top:-8,right:-18}];Component({properties:{className:{type:String,observer:function(t){this.setData({className:t})}},move:{type:Boolean,value:!1},name:String,uid:String,avatar:String,card:Object,toCard:Object},data:{accesstoken:""},ready:function(){var t=this,a=i.globalData,n=a.radarCount,r=a.WX_APP_NAME;this.__setCount({length:1,count:n||0}),this.setData({app:r}),this.__unReadsSynGlobal(),this.__getUnreads(),e.default.getTokens(function(a){var n=function(a){var e=a.accesstoken;return t.setData({accesstoken:e})};a?n(a):e.default.listenToken(n)})},methods:{__getUnreads:function(){var t=this;a.default.chat.message.unreads().then(function(a){var e=a.data.count;t.__handleCount(e,!0)})},__unReadsSynGlobal:function(){var t=this;n.default.addListener("unreads.syn",function(a){var e=a.type,n=a.num,r=+i.globalData.radarCount||0;t.data.count===r&&(r="add"===e?r+n:r-n),t.__handleCount(r)})},__handleCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;arguments[1];console.log(t),t<0&&(t=0);var a=(""+t).length;i.globalData.radarCount=t,this.__setCount({count:t,length:a})},__setCount:function(t){var a=t.count,e=void 0===a?0:a,i=t.length,o=void 0===i?1:i;e=e>99?"99+":e,this.setData({count:e,position:r[o-1]}),n.default.emit("radar.unreads.change",{count:e})},__orient:function(){var t=this.data,a=t.name,e=t.app,n=t.uid,i=t.accesstoken,r=t.card,o=r?r.cardid:"";if(!i)return this.triggerEvent("fail",{errMsg:"navigateTo:fail auth deny"},{});a?this.__goChat():wx.navigateTo({url:"/publicPackage/salesradar/withinmsg/withinmsg?app="+e+"&uid="+n+"&cardid="+o})},__goChat:function(){var t=this.data,e=t.name,n=t.app,i=t.uid,r=t.card,o=t.toCard,d=r?r.cardid:"",u=o?o.cardid:"",s=o?o.guid:"";a.default.chat.chat.create({data:{touid:i}}).then(function(t){var a=t.data,r=a.chatid,o=a.count;wx.navigateTo({url:"/publicPackage/salesradar/minichat/minichat?toguid="+s+"&name="+e+"&num="+o+"&chatid="+r+"&cardid="+d+"&tocardid="+u+"&touid="+i+"&app="+n+"&view=1"})})},__collectFormId:function(t){var e=t.detail.formId,n=getApp().globalData.appid;a.default.weapp.collectformid({data:{formid:e,app:this.data.app,appid:n}})}}}); 
 			}); 	require("public/components/withinmsg/withinmsg.js");
 		__wxRoute = 'public/pages/auto-response/auto-response';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'public/pages/auto-response/auto-response.js';	define("public/pages/auto-response/auto-response.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function t(t){return t&&t.__esModule?t:{default:t}}var a=t(require("../../utils/api")),e=t(require("../../../utils/config")),i=getApp();Page({data:{MAX_WORD_COUNT:40},onLoad:function(){var t=i.globalData,a=t.tokens.realname,e=t.card,l=e.cardid,o=e.autoreply,r=void 0===o?"":o,d="您好，我是"+a+"，欢迎访问我的小名片！";this.cardid=l,this.setData({autoreply:r,placeholder:d,content:r,valLength:r.length})},onInput:function(t){var a=t.detail.value;this.setData({valLength:a.length,autoreply:a.trim()})},submit:function(t){var e=this.data.autoreply;this.collectFormId(t),a.default.chat.setting.setautoreply({data:{autoreply:e,cardid:this.cardid}}).then(function(){i.globalData.card.autoreply=e,wx.showToast({title:"保存成功"}),setTimeout(function(){wx.navigateBack()},800)})},collectFormId:function(t,i){var l=getApp().globalData.appid;a.default.weapp.collectformid({data:{formid:t.detail.formId,app:e.default.WX_APP_NAME,appid:l}})}}); 
 			}); 	require("public/pages/auto-response/auto-response.js");
 		__wxRoute = 'public/pages/card-scanner/card-scanner';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'public/pages/card-scanner/card-scanner.js';	define("public/pages/card-scanner/card-scanner.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";var a=function(a){if(a&&a.__esModule)return a;var t={};if(null!=a)for(var e in a)Object.prototype.hasOwnProperty.call(a,e)&&(t[e]=a[e]);return t.default=a,t}(require("../../components/card-scanner-form/card-scanner")),t=["#000000","#42c642"];Page({data:{canUseCamera:wx.canIUse&&wx.canIUse("camera")},onLoad:function(){this.changeNavColor(t[this.data.canUseCamera?0:1])},changeNavColor:function(a){wx.setNavigationBarColor({backgroundColor:a,frontColor:"#ffffff"})},onSuccess:function(a){var t=a.detail.file;this.request(t)},request:function(t){var e=this;this.setData({file:t,loading:!0}),a.ocr(t).then(function(a){e.$put("card.scan.data",{data:a,file:t}),wx.redirectTo({url:"/pages/components/card-scanner/card-scanner"})}).catch(this.fail)},fail:function(a){this.setData({file:"",loading:!1})},onFail:function(){this.changeNavColor(t[1]),this.setData({canUseCamera:!1})},takeShot:function(t){var e=t.currentTarget.dataset.type;a.chooseImage(e).then(this.request)}}); 
 			}); 	require("public/pages/card-scanner/card-scanner.js");
 		__wxRoute = 'pages/track/index/index';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'pages/track/index/index.js';	define("pages/track/index/index.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}var t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},i=e(require("../../../utils/api2")),a=e(require("../../../utils/util")),s=e(require("../../../utils/config")),n=require("../../../public/pages/signin-page/checkIfNeedSignin"),o=getApp();Page({limit:10,data:{app:o.globalData.app,scrollActiveIndex:0,isViewListInited:!1},handleRedirect:function(e){e.scene&&(wx.showLoading({title:"正在跳转",mask:!0}),i.default.v4.weapp.getdatafromscene({data:{scene:e.scene,app:o.globalData.app},complete:wx.hideLoading}).then(function(e){var n=e.type,o=e.params,r=o.redirect,c=void 0;"loginpc"===n?(wx.switchTab({url:"/pages/index/index"}),i.default.site.site.loginpc({data:{scene:o.scene,op:"login"}})):(c="thirdparty"===r?"/pages/site-create/create/create?mode=create":"0"===n?"/pages/website/index/index?sid="+o.sid:a.default.createModelUrl(s.default.model,t({},o,{modid:n})),wx.navigateTo({url:c}))}))},onLoad:function(e){"wxwork"===o.globalData.environment&&this.$route("/pages/common/binding-site/binding-site","redirect"),this.handleRedirect(e),this.loadData(),this.addEventListener()},onShow:function(){a.default.updateViewSiteStatus(),a.default.getCardInfo()},addEventListener:function(){var e=this;this.$addListener("update:viewlist",function(){e.loadViewList()}),this.$addListener("site:focus",function(t){t.status;e.loadFocusList()})},loadData:function(){var e=this;if(!this.loading){this.loading=!0;var t=function(){e.loading=!1,wx.stopPullDownRefresh(),wx.hideLoading()};wx.showLoading({title:"加载中"}),this.loadViewList().then(function(){e.setData({isViewListInited:!0})}),Promise.all([this.loadFocusList(),this.loadCaseData()]).then(function(){t()}).catch(function(){t()})}},loadViewList:function(){var e=this;return i.default.site.site.getviewlists({data:{offset:0,limit:this.limit}}).then(function(t){e.setData({viewlist:t.lists})})},loadFocusList:function(){var e=this;return i.default.site.focus.mylists({data:{limit:10,offset:0}}).then(function(t){e.setData({focuslist:t.lists})})},loadCaseData:function(){var e=this;return new Promise(function(t){i.default.site.site.getcaselistsv2({data:{}}).then(function(i){var a=i.lists;e.setData({caseCateList:e.__normalizeList(a)}),t(a)})})},__normalizeList:function(e){if(e.length)return e.forEach(function(e){e.cases.forEach(function(e){var t="";switch(+e.version){case 0:t="单页展示型";break;case 1:t="企业官网型";break;case 2:t="企业电商型";break;case 3:t="企业展示型";break;case 4:t="服务预约型";break;case 5:t="全功能旗舰型"}e.versiontext=t})}),e||[]},switchCaseCate:function(e){var t=e.currentTarget.dataset.index;this.setData({scrollActiveIndex:+t})},viewSite:function(e){var t=e.currentTarget.dataset.sid;this.$route("/pages/website/index/index?sid="+t+"&op=view")},guideToCerateSite:function(){this.setData({isFocus:!1,searchValue:"",searchList:[]}),this.$route("/pages/site-create/index/index?mode=create")},create:function(){var e=this;if(!(0,n.askForSignin)()){var t={from:1};a.default.collectSiteCreatData({node:"create",params:t}).then(function(t){var i=t.stepid;e.$route("/pages/site-create/index/index?mode=create&stepid="+i)})}},onPullDownRefresh:function(){this.loadData()},onShareAppMessage:function(){return{title:"让你拥有一个自己的小官网",path:"/pages/track/index/index"}}}); 
 			}); 	require("pages/track/index/index.js");
 		__wxRoute = 'pages/track/list/list';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'pages/track/list/list.js';	define("pages/track/list/list.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function t(t){return t&&t.__esModule?t:{default:t}}var e=t(require("../../../utils/api2")),i=t(require("../../../utils/util"));Page({offset:0,limit:10,data:{toolbarWidth:350,activeIndex:-1,noMore:!1},onLoad:function(t){var e=t.mode;"track"===(void 0===e?"track":e)?(this.loadViewList(),wx.setNavigationBarTitle({title:"浏览历史"})):(this.loadFocusList(),wx.setNavigationBarTitle({title:"我的关注"}))},loadViewList:function(){var t=this,i=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.loading)return Promise.reject();this.loading=!0,i?this.offset=0:this.offset+=this.limit;return e.default.site.site.getviewlists({data:{offset:this.offset,limit:this.limit},desc:"获取列表",complete:function(){t.loading=!1,wx.stopPullDownRefresh()}}).then(function(e){var s=e.lists,a=void 0;a=i?s:t.data.list.concat(s),t.setData({list:a,noMore:s.length<t.limit})})},loadFocusList:function(){var t=this,i=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e.default.site.focus.mylists({data:{offset:this.offset,limit:10},desc:"加载中"}).then(function(e){t.setData({list:i?e.lists:t.data.list.concat(e.lists),noMore:e.lists.length<10}),t.offset+=e.lists.length})},touchstart:function(t){if("track"===this.__query.mode&&1===t.touches.length){var e=t.currentTarget.dataset.index,i=this.data.activeIndex;-1!==i&&e!==i&&this.updateSiteStyle(i),this.setData({startX:t.touches[0].clientX,activeIndex:e})}},touchmove:function(t){if("track"===this.__query.mode&&1===t.touches.length){var e=t.touches[0].clientX,i=this.data.startX-e,s=this.data.toolbarWidth,a=void 0;a=i<=0?0:i>50?-s:-i;var o=t.currentTarget.dataset.index,l=this.data.list;l[o].styleleft=a,this.setData({list:l})}},touchend:function(t){if("track"===this.__query.mode&&1===t.changedTouches.length){var e=t.changedTouches[0].clientX,i=this.data.startX-e,s=this.data.toolbarWidth,a=void 0;a=i>50?-s:0;var o=t.currentTarget.dataset.index,l=this.data.list;l[o].styleleft=a,this.setData({list:l})}},updateSiteStyle:function(t){var e=this.data.list,s=e[t];i.default.extend(s,{styleleft:0}),this.setData({list:e})},calcTopTotal:function(){var t=0;return this.data.list.forEach(function(e,i){"1"===e.istop&&(t+=1)}),t},setTopHandle:function(t){var e=this.data.list;if("0"===e[t].istop){var i=e[t];i.istop="1",i.styleleft=0;var s=e.splice(t,1)[0];e.unshift(s),this.setData({list:e,activeIndex:0})}else{var a=e[t],o=this.calcTopTotal();a.istop="0",a.styleleft=0;var l=e.splice(t,1)[0];e.splice(o,0,l),this.setData({list:e,activeIndex:t})}},toggleIsTop:function(t){var i=this,s=t.currentTarget.dataset.index,a=this.data.list[s],o=a.sid,l="0"===a.istop?"set":"cancel";e.default.site.home.settop({data:{sid:o,op:l},desc:"操作"}).then(function(){i.setTopHandle(s),i.$emit("update:viewlist")})},deleteViewSite:function(t){var i=this,s=t.currentTarget.dataset.index,a=this.data.list,o=a[s].sid;e.default.site.home.deleteview({data:{sid:o},desc:"删除"}).then(function(){a.splice(s,1),i.setData({list:a}),i.$emit("update:viewlist")})},viewSite:function(t){var e=t.currentTarget.dataset.sid;this.$route("/pages/website/index/index?sid="+e+"&op=view")},onReachBottom:function(){this.data.noMore||("track"===this.__query.mode?this.loadViewList(!1):this.loadFocusList(!1))}}); 
 			}); 	require("pages/track/list/list.js");
 		__wxRoute = 'pages/track/search/search';__wxRouteBegin = true; 	define("pages/track/search/search.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";var t=function(t){return t&&t.__esModule?t:{default:t}}(require("../../../utils/api2"));Page({data:{searchkey:"",noMore:!1},cancel:function(){this.setData({searchkey:""})},saveSearchkey:function(t){this.setData({searchkey:t.detail.value,hasSearched:!1})},search:function(t){var e=this;clearTimeout(this.timer),this.timer=setTimeout(function(){e.loadSearchlist(e.data.searchkey)},20)},loadSearchlist:function(e){var a=this,s=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t.default.site.home.searchlist({data:{keyword:e,offset:s?0:this.data.searchList.length,limit:10},desc:"获取查询结果"}).then(function(t){var e=a.data.searchList;a.setData({searchList:s?t.lists:e.concat(t.lists),noMore:t.lists.length<10,hasSearched:!0})})},onReachBottom:function(){this.data.noMore||this.loadSearchlist(this.data.searchkey,!1)}}); 
 			}); 	require("pages/track/search/search.js");
 		__wxRoute = 'pages/index/index';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'pages/index/index.js';	define("pages/index/index.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}function t(e){Object.keys(e).forEach(function(t){e[t].forEach(function(e){e.verName=(0,n.getName)(e.version),e.expireDate=e.expiretime.split(" ")[0].replace(/-/g,".");var t=e.expiretime.replace(/-/g,"/");e.isexpire=(new Date).getTime()-new Date(t).getTime()>0})})}var i=e(require("../../utils/api2")),a=e(require("../../utils/util")),n=require("../../utils/plans"),s=require("../../public/pages/signin-page/checkIfNeedSignin");Page({data:{createList:[],manageList:[],isLoading:!0},onLoad:function(){var e=this;this.loadSiteList().then(function(t){e.setData({isLoading:!1}),0===t.create.length&&0===t.manager.length&&e.loadDefaultTplList()}),this.$addListener("list.refresh",function(){return e.loadSiteList()})},onShow:function(){a.default.updateViewSiteStatus()},onPullDownRefresh:function(){this.loadSiteList().then(wx.stopPullDownRefresh)},create:function(){var e=this;if(!(0,s.askForSignin)()){var t={from:2};a.default.collectSiteCreatData({node:"create",params:t}).then(function(t){var i=t.stepid;e.$route("/pages/site-create/index/index?mode=create&stepid="+i)})}},loadSiteList:function(){var e=this;return i.default.site.manager.lists({data:{isqywx:0},desc:"数据加载"}).then(function(i){return t(i),e.setData({createList:i.create,manageList:i.manager}),i})},loadDefaultTplList:function(){var e=this;i.default.site.template.gettpllistsbyversion({data:{version:3}}).then(function(t){e.setData({tpllist:t.lists})})}}); 
 			}); 	require("pages/index/index.js");
 		__wxRoute = 'pages/index/template/template';__wxRouteBegin = true; 	define("pages/index/template/template.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";var i=function(i){return i&&i.__esModule?i:{default:i}}(require("../../../utils/api2"));Page({data:{versions:[{version:"企业官网型",hot:!0,vid:1},{version:"企业电商型",hot:!0,vid:2},{version:"企业展示型",vid:3},{version:"服务预约型",vid:4},{version:"全功能旗舰型",vid:5},{version:"单页展示型",vid:0}],activeVid:1},onLoad:function(){this.loadTplList(this.data.activeVid)},loadTplList:function(t){var e=this;i.default.site.template.gettpllistsbyversion({data:{version:t},desc:"加载中"}).then(function(i){e.setData({activeVid:t,list:i.lists})})},switchVersion:function(i){this.loadTplList(i.currentTarget.dataset.version)}}); 
 			}); 	require("pages/index/template/template.js");
 		__wxRoute = 'public/pages/signin-page/signin-page';__wxRouteBegin = true; 	define("public/pages/signin-page/signin-page.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function e(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function t(e){return e&&e.__esModule?e:{default:e}}function n(e){wx.showToast({title:e,image:"./bad-toast.png",duration:3e3})}function a(e){var t=null;return e.mobile?e.verifycode||(t="请输入验证码"):t="请输入手机号",t&&n(t),!t}function i(e){var t=new Promise(function(e,t){wx.showLoading({title:"加载中..."}),wx.login({complete:wx.hideLoading,success:e,fail:t})});return new Promise(function(a,i){t.then(function(t){var n=t.code,a=getApp().globalData,i=a.app,o=a.appid,r=a.environment,s=f.apiPrefix+"/user/"+("wx"===r?"bindmobilev2":"qywxbindmobile");return d.post(s,u({},e,{app:i,appid:o,code:n}))}).then(function(e){if(0!==e.code)return n(e.message),Promise.reject(e);l.default.updateTokens(e.data),wx.showToast({title:"已登录"});r(e.data.openid,"bindmobile"),o()})})}function o(){var e=getCurrentPages(),t=e[e.length-2],n="/"+t.route+"?"+c.default.serializeParams(t.__query);2===e.length&&wx.reLaunch?wx.reLaunch({url:n}):wx.redirectTo({url:n})}function r(e,t){var n=getApp().globalData.appid,a=f.apiPrefix+"/user/statisticslogin";return d.post(a,{appid:n,openid:e,op:t}).then(function(e){console.log(e,"获取用户信息"+t)})}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"1.9.90";e=e.split("."),t=t.split(".");for(var n=Math.max(e.length,t.length);e.length<n;)e.push("0");for(;t.length<n;)t.push("0");for(var a=0;a<n;a++){var i=parseInt(e[a],10),o=parseInt(t[a],10);if(i>o)return 1;if(i<o)return-1}return 0}var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c=t(require("../../utils/util")),l=t(require("../../utils/user")),d=e(require("../../utils/request")),f=e(require("../../utils/host")),p=t(require("../../utils/api"));Page({data:{isGetUserInfo:!1,isAllowUseOpenData:!1,source:"",tokens:{},useWechat:!0,binding:!1,mobile:"",countDown:0,verifycode:""},onLoad:function(e){var t=this,n=e.source,a=s(wx.getSystemInfoSync().SDKVersion)>-1;l.default.getTokens().then(function(e){t.setData({source:n,tokens:e,isAllowUseOpenData:a});r(e.openid,"authpage")})},getUserInfo:function(e){if(!e.detail.errMsg.includes("getUserInfo:fail auth deny")){var t=e.detail,n=t.userInfo,a=t.encryptedData,i=t.iv,o=n.nickName,s=n.avatarUrl,u=this.data.tokens;this.setData({"tokens.realname":o,"tokens.avatar":s,isGetUserInfo:!0}),wx.showToast({title:"授权成功"}),this.updateUserInfo(this,u,a,i);r(u.openid,"authuser")}},updateUserInfo:function(e,t,n,a){wx.login({success:function(i){var o=i.code,r=f.apiPrefix+"/user/authuser",s=getApp().globalData,u=s.app,c=s.appid;d.post(r,{app:u,appid:c,code:o,encryptedData:n,iv:a}).then(function(n){var a=n.code,i=n.data;0===a&&(t=Object.assign({},t,i),e.setData({tokens:t}))})}})},signinByWechat:function(e){var t=this,a=e.detail,o=a.errMsg,r=a.iv,s=a.encryptedData;o.includes("getPhoneNumber:fail")?(n("快速获取失败"),this.setData({useWechat:!1})):(this.setData({binding:!0}),i(u({iv:r,encryptedData:s},this.data.tokens)).then(function(){t.setData({binding:!1})},function(e){console.log("Error in bindMobileByWechat: ",e),t.setData({useWechat:!1})}))},inputMobile:function(e){var t=e.detail.value;this.setData({mobile:t})},getVerifycode:function(){var e=this,t=this.data,a=t.mobile,i=t.source;c.default.isMobile(a)?(this.setData({countDown:60}),this.updateCountDown(Date.now()),p.default.users.sendcode({mobile:a,source:i}).then(function(e){if(wx.showToast({title:"验证码已发送"}),0!==e.code||!e.data.issend)return Promise.reject(e)}).catch(function(t){n("短信发送失败"),e.setData({countDown:0})})):n("手机格式错误")},inputVerifycode:function(e){var t=e.detail.value;this.setData({verifycode:t})},submit:function(){var e=this.data,t=e.mobile,n=e.verifycode,o=e.tokens;a({mobile:t,verifycode:n})&&i(u({mobile:t,verifycode:n},o))},updateCountDown:function(e){var t=this,n=Date.now(),a=this.data.countDown;a-=(n-e)/1e3,this.setData({countDown:a}),a>0&&setTimeout(function(){return t.updateCountDown(n)},60)}}); 
 			}); 	require("public/pages/signin-page/signin-page.js");
 		__wxRoute = 'pages/profile-entry/index/index';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'pages/profile-entry/index/index.js';	define("pages/profile-entry/index/index.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";var e=require("../../../public/pages/signin-page/checkIfNeedSignin"),i=function(e){return e&&e.__esModule?e:{default:e}}(require("../../../utils/api2"));Page({data:{avatar:"",name:"",needVerifyMobile:!1},onLoad:function(){var e=this,i=getApp().globalData,t=i.tokens,r=i.card;this.setData({name:r.realname||t.realname,avatar:r.avatar||t.avatar}),this.getProviderInfo(),this.$addListener("update.count",function(i){e.setData({"provider.nums":i})}),this.$addListener("update.provider",function(i){var t=i.id,r=i.level;e.setData({"provider.id":t,"provider.level":r,"provider.authstatus":2})}),this.checkIfNeedVerifyMobile()},checkIfNeedVerifyMobile:function(){1!=+getApp().globalData.tokens.isverifymobile&&this.setData({needVerifyMobile:!0})},verifySuccess:function(){this.setData({needVerifyMobile:!1})},getProviderInfo:function(){var e=this;return i.default.site.agent.account({desc:"加载中"}).then(function(i){e.setData({provider:i})})},bindMobile:function(){this.setData({authMobileShow:!0})},refresh:function(){this.getProviderInfo().then(function(){wx.showToast({title:"更新成功"})})},orderlist:function(){(0,e.askForSignin)()||this.$route("/pages/profile/orderlist/orderlist")},grouponlist:function(){(0,e.askForSignin)()||this.$route("/pages/profile/grouponlist/grouponlist")},reservationlist:function(){(0,e.askForSignin)()||this.$route("/pages/profile/reservationlist/reservationlist")},messagelist:function(){(0,e.askForSignin)()||this.$route("/pages/profile/messagelist/messagelist")},versionlist:function(){this.$route("/pages/profile/versionlist/versionlist")},redirectToMarket:function(){if(!(0,e.askForSignin)()){var i=this.data.provider.id;i?this.$route("/pages/provider/index/index?id="+i):wx.navigateToMiniProgram({appId:"wxecc63b3a901f879c"})}}}); 
 			}); 	require("pages/profile-entry/index/index.js");
 		__wxRoute = 'pages/profile-entry/members/members';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'pages/profile-entry/members/members.js';	define("pages/profile-entry/members/members.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function t(t){return t&&t.__esModule?t:{default:t}}var i=t(require("../../../utils/api2")),e=t(require("../../../utils/api")),a=t(require("../../../utils/util")),s=require("../../../public/pages/signin-page/checkIfNeedSignin"),r=require("../../../components/navigation-bar/mixin");Page({data:{avatar:"",name:"",mode:"view",gather:{}},onLoad:function(t){this.setData({sid:t.sid}),this.getUserInfo(),r.navigationMixIn.addTo(this)},onShow:function(){this.refresh()},initData:function(t){this.loadSiteInfo(t),this.loadSettings(t.sid),this.loadProductOrderCount(t.sid),this.loadServiceOrderCount(t.sid),this.checkIfNeedVerifyMobile(),this.loadVipInfo(t.sid)},refresh:function(){this.initData(this.__query)},getUserInfo:function(){var t=getApp().globalData,i=t.tokens,e=t.card;this.setUserInfo({nickName:e.realname||i.realname,avatarUrl:e.avatar||i.avatar})},setUserInfo:function(t){this.setData({avatar:t.avatarUrl,name:a.default.sliceByByte(a.default.filterEmoji(t.nickName),8)})},loadSiteInfo:function(t){var e=this,s=t.sid,r=t.navid;i.default.site.site.view({data:{sid:s}}).then(function(t){var i=a.default.formatSidebarNavUrl(t.navlist,r);e.initNavigation(t,i),e.setData({mchid:t.mchid})})},loadSettings:function(t){var e=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"view";i.default.site.usercenter.lists({data:{sid:t,op:a},desc:"加载设置"}).then(function(i){var a={};i.forEach(function(t){a[t.node]=t}),e.setData({gather:a}),a.distribute&&e.loadDistributeInfo(t)})},loadProductOrderCount:function(t){var e=this;i.default.site.productorder.getmyordercount({data:{sid:t}}).then(function(t){e.setData({productOrderCount:t})})},loadServiceOrderCount:function(t){var e=this;i.default.site.servicesorder.getmyordercount({data:{sid:t}}).then(function(t){e.setData({servicesOrderCount:t})})},checkIfNeedVerifyMobile:function(){1!=+getApp().globalData.tokens.isverifymobile&&this.setData({needVerifyMobile:!0})},loadVipInfo:function(t){var e=this;i.default.site.member.view({data:{sid:t}}).then(function(t){e.setData({member:t.member,isShowMemberManage:"thirdparty"===getApp().globalData.app&&t.ismanager})})},loadDistributeInfo:function(t){var i=this;return e.default.site.distribute.viewmember({data:{sid:t},desc:"加载中"}).then(function(t){var e=t.data,a=e.code,s=e.data.member;0==+a&&i.setData({distribute:s})})},bindMobile:function(){this.setData({authMobileShow:!0})},verifySuccess:function(){this.setData({needVerifyMobile:!1})},orderlist:function(){var t=this.data.sid;(0,s.askForSignin)()||this.$route("/pages/profile/orderlist/orderlist?sid="+t)},servicelist:function(){var t=this.data.sid;(0,s.askForSignin)()||this.$route("/pages/profile/reservationlist/reservationlist?sid="+t)},grouponlist:function(){var t=this.data.sid,i=this.data.sidebar.site.name;(0,s.askForSignin)()||this.$route("/pages/profile/grouponlist/grouponlist?sid="+t+"&name="+i)},paybilllist:function(){var t=this.data.sid;(0,s.askForSignin)()||this.$route("/pages/profile/payment-record/payment-record?sid="+t+"&origin=user")},conpouslist:function(){var t=this.data.sid;(0,s.askForSignin)()||this.$route("/pages/profile/coupon/list/list?sid="+t)},bargainlist:function(){var t=this.data.sid;(0,s.askForSignin)()||this.$route("/pages/common/bargaining/mylist/mylist?sid="+t)},cartlist:function(){var t=this.data.sid;(0,s.askForSignin)()||this.$route("/pages/common/shopping-cart/shopping-cart?sid="+t+"&app="+getApp().globalData.app+"&mchid="+this.data.mchid)},addresslist:function(){var t=this.data.sid;(0,s.askForSignin)()||this.$route("/pages/common/address/list/list?sid="+t+"&app="+getApp().globalData.app+"&origin=profile")},lotterylist:function(){var t=this.data.sid;(0,s.askForSignin)()||this.$route("/pages/common/raffle/prize-list/prize-list?sid="+t)},activitylist:function(){var t=this.data.sid;this.$route("/pages/common/activity/list/list?sid="+t)},distributeCenter:function(){var t=this.data.sid;(0,s.askForSignin)()||(this.data.distribute&&1==+this.data.distribute.status?this.$route("/pages/profile/distribute/index/index?sid="+t):this.data.distribute&&0==+this.data.distribute.status?this.$route("/pages/profile/distribute/apply/apply?sid="+t+"&status=success"):this.data.distribute&&2==+this.data.distribute.status?this.$route("/pages/profile/distribute/apply/apply?sid="+t+"&status=fail"):this.data.distribute||this.$route("/pages/profile/distribute/apply/apply?sid="+t))},gotoOrderStatus:function(t){var i=t.currentTarget.dataset.type;(0,s.askForSignin)()||this.$route("/pages/profile/orderlist/orderlist?sid="+this.data.sid+"&status="+i)},gotoServiceStatus:function(t){var i=t.currentTarget.dataset.type;(0,s.askForSignin)()||this.$route("/pages/profile/reservationlist/reservationlist?sid="+this.data.sid+"&status="+i)},onPullDownRefresh:function(){this.refresh(),setTimeout(wx.stopPullDownRefresh,1e3)}}); 
 			}); 	require("pages/profile-entry/members/members.js");
 		__wxRoute = 'pages/website/index/index';__wxRouteBegin = true; 	__wxAppCurrentFile__ = 'pages/website/index/index.js';	define("pages/website/index/index.js", function(require, module, exports, window,document,frames,self,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,XMLHttpRequest,WebSocket,Reporter,webkit,WeixinJSCore){ 			
"use strict";function t(t){return t&&t.__esModule?t:{default:t}}var e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},i=t(require("../../../utils/util")),a=t(require("../../../utils/config")),n=t(require("../../../utils/api2")),s=require("../../../components/navigation-bar/mixin"),o=t(require("../../../components/editor/editor")),d=t(require("../../../components/editor-content-view/editor-content-view")),r=getApp();Page({data:{app:r.globalData.app,$$editor:{},site:{content:[]},mode:"view",isLoading:!0,saving:!1,isExist:!0,saveButtonShown:!0,shoppingcartInitData:{}},handleRedirect:function(t){t.scene&&(wx.showLoading({title:"正在跳转",mask:!0}),n.default.v4.weapp.getdatafromscene({data:{scene:t.scene,app:r.globalData.app},complete:wx.hideLoading}).then(function(t){var n=t.params,s=t.type,o=void 0;o="payment"===s?"/pages/common/payment/payment?sid="+n.sid+"&appid="+n.appid:0==+s?"/pages/website/index/index?sid="+n.sid:i.default.createModelUrl(a.default.model,e({},n,{modid:s})),wx.navigateTo({url:o})}))},onLoad:function(t){var e=this;this.handleRedirect(t),"thirdparty"===r.globalData.app&&(t={sid:r.globalData.sid}),this.setData({"site.sid":t.sid}),s.navigationMixIn.addTo(this),this.loadSiteInfo(t),this.addPlugins(t),this.loadSiteHomeContent(t).then(function(){e.$emit("update:viewlist",{mode:"view"})}),this.$addListener("update.editorcontent",function(){var t=e.data.site.sid;e.loadSiteHomeContent({sid:t})})},onShow:function(){var t=Date.now();this.setData({_radarStartTime:t}),i.default.deleteOriginSiteData()},addPlugins:function(t){var e=this;this.editor=new o.default(this,{sid:t.sid}),Object.assign(this.editor,{onFocus:function(){return e.setData({saveButtonShown:!1})},onBlur:function(){return e.setData({saveButtonShown:!0})}}),this.manager=new d.default(this,{scope:"site"}),this.setData({sharePluginData:{sid:t.sid,navid:"",catid:"",cid:"",modid:0,op:"link"}})},loadSiteInfo:function(t){var e=this,a=t.sid,s=t.navid;return n.default.site.site.view({data:{sid:a}}).then(function(t){var a=i.default.formatSidebarNavUrl(t.navlist,s);e.initNavigation(t,a),e.setData({"site.tel":t.tel,"site.mchid":t.mchid}),i.default.setTheme(t.style),e.$emit("update.editorTypes",{version:t.version})}).catch(function(t){-100005===t.code&&e.setData({isExist:!1})})},loadSiteHomeContent:function(t){var e=this;return n.default.site.site.viewhomepage({data:t}).then(function(t){var i=t.content,a=t.isedit,n=t.isfocus;e.setData({"site.content":i,"site.isedit":a,"site.isfocus":n,"site.app":e.data.app,isLoading:!1})},function(t){-100005===t.code?e.setData({isExist:!1}):i.default.qAlert(t.message,"加载内容失败"),e.setData({isLoading:!1})})},editContent:function(){var t=this.data.site.content;this.editor.setData(t||[]),this.setData({mode:"edit"})},saveHomeContent:function(){var t=this;this.setData({saving:!0});var e={sid:this.data.site.sid,cid:this.data.site.cid,content:this.editor.getData()};n.default.site.home.save({data:e,desc:"保存",complete:function(){return t.setData({saving:!1})}}).then(function(){t.setData({"site.content":e.content,mode:"view",swiper:[]});var i=t.data.$$editor.deleteLinkSource;t.$$editorDeleteLinkSource(i)})},cancelEdit:function(){var t=this;wx.showModal({title:"操作提示",content:"确定放弃本次修改吗？点击确定后，将不保存修改内容",cancelText:"再想想",success:function(e){if(e.confirm){var i=t.data.site.content;t.editor.setData(i||[]),t.setData({mode:"view"})}}})},updateEditStatus:function(){var t=this.data,e=t.site.content,i=void 0===e?[]:e,a=t.$$editor.sections;i.length||a.length||this.$$editorAddSection({type:"text",data:{content:""}},0),this.setData({mode:"edit"})},updateIndexFocus:function(t){this.$emit("site:focus",t.detail)},redirectToMembers:function(){var t=this.data.sidebar.site.sid;this.$route("/pages/profile-entry/members/members?sid="+t)},onHide:function(){var t=this.data,e=t._radarStartTime,a=t.site.sid,n=Date.now(),s=Math.round((n-e)/1e3);i.default.pushRadarNews("viewsitev2",a,{sid:a},s>100?99:s)},onUnload:function(){var t=this.data,e=t._radarStartTime,a=t.site.sid,n=Date.now(),s=Math.round((n-e)/1e3);i.default.pushRadarNews("viewsitev2",a,{sid:a},s>100?99:s)},onShareAppMessage:function(){this.setData({isSharePluginShow:!1});var t=r.globalData.tokens,e=this.data.sidebar.site,a=e.sid,n=e.name;return i.default.saveShareRecord(a),{title:"欢迎访问“"+n+"”",path:"/pages/website/index/index?sid="+a+"&fromuid="+t.uid}}}); 
 			}); 	require("pages/website/index/index.js");
 	